(This page was automatically generated by the tools in the opsboy project on 05:21:47 14-Jul-2017 GMT.)

Detailed Test Report for ngx_lua in linux x86_64 (hv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
a5094766 2017-07-13 21:04:33 GMT 693 323 193 19921 3239 sec

LuaJIT

LuaJIT 2.1.0-beta3, commit 2d33927

Compilation Errors

Unexpected Failures

File Name Details
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,5 @@
connected: 1
-failed to do SSL handshake: handshake failed
+ssl handshake: userdata
+sent http request: 58 bytes.
+received: HTTP/1.1 302 Moved Temporarily
+close: 1 nil
'
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 0) got: 'lua ssl save session: 0000000008F90BD0:2
lua ssl free session: 0000000008F90BD0:1
'
expected: ''
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,5 @@
connected: 1
-failed to do SSL handshake: handshake failed
+ssl handshake: userdata
+sent http request: 58 bytes.
+received: HTTP/1.1 302 Moved Temporarily
+close: 1 nil
'
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 1) got: 'lua ssl save session: 00000000092CB310:2
lua ssl free session: 00000000092CB310:1
'
expected: ''
153-semaphore-hup.t TEST 2: timer + reload (lua code cache off) - grep_error_log_out (req 0) @@ -1,5 +1,2 @@
created semaphore object
created semaphore object
-try to reload nginx
-created semaphore object
-created semaphore object
'
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 32 bytes in 2 blocks are definitely lost in loss record 609 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x52AB1FC: lj_cdata_new (lj_cdata.h:45)
==31485== by 0x52AB1FC: lj_cdata_newx (lj_cdata.c:56)
==31485== by 0x52C3E68: lj_cf_ffi_new (lib_ffi.c:508)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_cdata_new
fun:lj_cdata_newx
fun:lj_cf_ffi_new
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 32 bytes in 2 blocks are definitely lost in loss record 610 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x52ACEBF: lj_cdata_new (lj_cdata.h:45)
==31485== by 0x52ACEBF: lj_cconv_tv_ct (lj_cconv.c:411)
==31485== by 0x52C369D: lj_cf_ffi_meta___index (lib_ffi.c:158)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_cdata_new
fun:lj_cconv_tv_ct
fun:lj_cf_ffi_meta___index
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 32 bytes in 2 blocks are definitely lost in loss record 611 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x52AB1FC: lj_cdata_new (lj_cdata.h:45)
==31485== by 0x52AB1FC: lj_cdata_newx (lj_cdata.c:56)
==31485== by 0x52C3E68: lj_cf_ffi_new (lib_ffi.c:508)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_cdata_new
fun:lj_cdata_newx
fun:lj_cf_ffi_new
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 36 bytes in 2 blocks are definitely lost in loss record 615 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5276489: parse_params (lj_parse.c:1813)
==31485== by 0x5276489: parse_body (lj_parse.c:1849)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_params
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 36 bytes in 2 blocks are definitely lost in loss record 616 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52C4B84: ffi_finalizer (lib_ffi.c:831)
==31485== by 0x52C4B84: luaopen_ffi (lib_ffi.c:852)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:ffi_finalizer
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 36 bytes in 2 blocks are definitely lost in loss record 617 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277F41: parse_args (lj_parse.c:1898)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x5276BA3: expr_binop (lj_parse.c:2098)
==31485== by 0x5277651: expr (lj_parse.c:2109)
==31485== by 0x5277651: expr_cond (lj_parse.c:2124)
==31485== by 0x527930D: parse_then (lj_parse.c:2589)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x527906A: parse_for_num (lj_parse.c:2482)
==31485== by 0x527906A: parse_for (lj_parse.c:2575)
==31485== by 0x527906A: parse_stmt (lj_parse.c:2638)
==31485== by 0x527906A: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr_binop
fun:expr
fun:expr_cond
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_for_num
fun:parse_for
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 36 bytes in 2 blocks are definitely lost in loss record 618 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5276A25: expr_binop (lj_parse.c:2095)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 36 bytes in 2 blocks are definitely lost in loss record 619 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x52785F2: parse_while (lj_parse.c:2418)
==31485== by 0x52785F2: parse_stmt (lj_parse.c:2630)
==31485== by 0x52785F2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_while
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 36 bytes in 2 blocks are definitely lost in loss record 620 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5276489: parse_params (lj_parse.c:1813)
==31485== by 0x5276489: parse_body (lj_parse.c:1849)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_params
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 38 bytes in 2 blocks are definitely lost in loss record 622 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B95AA: luaopen_base (lib_base.c:663)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:luaopen_base
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 38 bytes in 2 blocks are definitely lost in loss record 623 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B9659: newproxy_weaktable (lib_base.c:654)
==31485== by 0x52B9659: luaopen_base (lib_base.c:665)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:newproxy_weaktable
fun:luaopen_base
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 38 bytes in 2 blocks are definitely lost in loss record 624 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D2918: ngx_http_lua_inject_regex_api (ngx_http_lua_regex.c:2003)
==31485== by 0x4DD262: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:733)
==31485== by 0x4DD262: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD262: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD262: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_regex_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 38 bytes in 2 blocks are definitely lost in loss record 625 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F7151: ngx_http_lua_inject_timer_api (ngx_http_lua_timer.c:58)
==31485== by 0x4DD2BC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:744)
==31485== by 0x4DD2BC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2BC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2BC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_timer_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 38 bytes in 2 blocks are definitely lost in loss record 626 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F7420: ngx_http_lua_inject_worker_api (ngx_http_lua_worker.c:37)
==31485== by 0x4DD2CC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:746)
==31485== by 0x4DD2CC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2CC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2CC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_worker_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 38 bytes in 2 blocks are definitely lost in loss record 627 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x52785F2: parse_while (lj_parse.c:2418)
==31485== by 0x52785F2: parse_stmt (lj_parse.c:2630)
==31485== by 0x52785F2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_while
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 38 bytes in 2 blocks are definitely lost in loss record 628 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x5277627: expr_list (lj_parse.c:1877)
==31485== by 0x5277F52: parse_args (lj_parse.c:1902)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x5278243: expr (lj_parse.c:2109)
==31485== by 0x5278243: expr_primary (lj_parse.c:1940)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x527761A: expr (lj_parse.c:2109)
==31485== by 0x527761A: expr_list (lj_parse.c:1879)
==31485== by 0x5277F52: parse_args (lj_parse.c:1902)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x527785B: expr (lj_parse.c:2109)
==31485== by 0x527785B: expr_table (lj_parse.c:1734)
==31485== by 0x5277269: expr_simple (lj_parse.c:2004)
==31485== by 0x5277269: expr_unop (lj_parse.c:2077)
==31485== by 0x5277269: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:expr_list
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_table
fun:expr_simple
fun:expr_unop
fun:expr_binop
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 38 bytes in 2 blocks are definitely lost in loss record 629 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 38 bytes in 2 blocks are definitely lost in loss record 630 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x52785F2: parse_while (lj_parse.c:2418)
==31485== by 0x52785F2: parse_stmt (lj_parse.c:2630)
==31485== by 0x52785F2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_while
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 643 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B6789: lib_read_lfunc (lj_lib.c:52)
==31485== by 0x52B6789: lj_lib_register (lj_lib.c:116)
==31485== by 0x52BBC6F: luaopen_string (lib_string.c:739)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lib_read_lfunc
fun:lj_lib_register
fun:luaopen_string
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 644 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x526437B: func_newL (lj_func.c:122)
==31485== by 0x52645B8: lj_func_newL_empty (lj_func.c:138)
==31485== by 0x52B67EB: lib_read_lfunc (lj_lib.c:65)
==31485== by 0x52B67EB: lj_lib_register (lj_lib.c:116)
==31485== by 0x52BBC6F: luaopen_string (lib_string.c:739)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:func_newL
fun:lj_func_newL_empty
fun:lib_read_lfunc
fun:lj_lib_register
fun:luaopen_string
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 645 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B6789: lib_read_lfunc (lj_lib.c:52)
==31485== by 0x52B6789: lj_lib_register (lj_lib.c:116)
==31485== by 0x52B9C41: luaopen_math (lib_math.c:223)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lib_read_lfunc
fun:lj_lib_register
fun:luaopen_math
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 646 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F2EA: lua_pushlstring (lj_api.c:640)
==31485== by 0x52C21D8: luaopen_jit (lib_jit.c:766)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_pushlstring
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 647 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F2EA: lua_pushlstring (lj_api.c:640)
==31485== by 0x52B74A5: luaL_findtable (lib_aux.c:89)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52C2265: luaopen_jit (lib_jit.c:778)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_pushlstring
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 648 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x52C4F8E: luaL_openlibs (lib_init.c:51)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 649 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C5612: ngx_http_lua_inject_ndk_api (ngx_http_lua_ndk.c:182)
==31485== by 0x4DD139: ngx_http_lua_init_globals (ngx_http_lua_util.c:702)
==31485== by 0x4DD139: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD139: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_ndk_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 650 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F2EA: lua_pushlstring (lj_api.c:640)
==31485== by 0x4DD181: ngx_http_lua_inject_arg_api (ngx_http_lua_util.c:2918)
==31485== by 0x4DD181: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:718)
==31485== by 0x4DD181: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD181: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD181: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_pushlstring
fun:ngx_http_lua_inject_arg_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 651 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C2773: ngx_http_lua_inject_log_consts (ngx_http_lua_log.c:301)
==31485== by 0x4C2773: ngx_http_lua_inject_log_api (ngx_http_lua_log.c:274)
==31485== by 0x4DD21F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:723)
==31485== by 0x4DD21F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD21F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD21F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_log_consts
fun:ngx_http_lua_inject_log_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 652 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CA3E7: ngx_http_lua_inject_output_api (ngx_http_lua_output.c:676)
==31485== by 0x4DD227: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:724)
==31485== by 0x4DD227: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD227: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD227: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_output_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 653 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C6C11: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:221)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 654 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C8C32: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:86)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 655 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D984F: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2122)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 656 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x526437B: func_newL (lj_func.c:122)
==31485== by 0x52645B8: lj_func_newL_empty (lj_func.c:138)
==31485== by 0x527B198: cpparser (lj_load.c:42)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B52B: luaL_loadbufferx (lj_load.c:143)
==31485== by 0x4CBE7F: ngx_http_lua_create_headers_metatable (ngx_http_lua_headers.c:1070)
==31485== by 0x4DD280: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:738)
==31485== by 0x4DD280: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD280: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD280: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:func_newL
fun:lj_func_newL_empty
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadbufferx
fun:ngx_http_lua_create_headers_metatable
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 657 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C79DE: ngx_http_lua_inject_variable_api (ngx_http_lua_variable.c:35)
==31485== by 0x4DD288: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:739)
==31485== by 0x4DD288: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD288: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD288: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_variable_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 658 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4ED0BF: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:207)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 659 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x52787CF: parse_local (lj_parse.c:2260)
==31485== by 0x52787CF: parse_stmt (lj_parse.c:2648)
==31485== by 0x52787CF: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B52B: luaL_loadbufferx (lj_load.c:143)
==31485== by 0x4ED1C5: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:215)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadbufferx
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 660 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x526437B: func_newL (lj_func.c:122)
==31485== by 0x52645B8: lj_func_newL_empty (lj_func.c:138)
==31485== by 0x527B198: cpparser (lj_load.c:42)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B52B: luaL_loadbufferx (lj_load.c:143)
==31485== by 0x4ED1C5: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:215)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:func_newL
fun:lj_func_newL_empty
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadbufferx
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 661 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F4650: ngx_http_lua_inject_socket_udp_api (ngx_http_lua_socket_udp.c:81)
==31485== by 0x4DD2A9: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:742)
==31485== by 0x4DD2A9: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2A9: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2A9: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_socket_udp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 662 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F73FC: ngx_http_lua_inject_worker_api (ngx_http_lua_worker.c:34)
==31485== by 0x4DD2CC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:746)
==31485== by 0x4DD2CC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2CC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2CC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_worker_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 663 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x52787BE: parse_local (lj_parse.c:2259)
==31485== by 0x52787BE: parse_stmt (lj_parse.c:2648)
==31485== by 0x52787BE: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 664 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x52789C4: parse_stmt (lj_parse.c:2634)
==31485== by 0x52789C4: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 665 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5276489: parse_params (lj_parse.c:1813)
==31485== by 0x5276489: parse_body (lj_parse.c:1849)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_params
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 666 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x52764E0: parse_params (lj_parse.c:1827)
==31485== by 0x52764E0: parse_body (lj_parse.c:1849)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:parse_params
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 667 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5276489: parse_params (lj_parse.c:1813)
==31485== by 0x5276489: parse_body (lj_parse.c:1849)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_params
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 668 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 669 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x526437B: func_newL (lj_func.c:122)
==31485== by 0x52645B8: lj_func_newL_empty (lj_func.c:138)
==31485== by 0x527B198: cpparser (lj_load.c:42)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:func_newL
fun:lj_func_newL_empty
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 670 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x526437B: func_newL (lj_func.c:122)
==31485== by 0x526468D: lj_func_newL_gc (lj_func.c:160)
==31485== by 0x525BCF5: lj_BC_FNEW (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DDA82: ngx_http_lua_cache_store_code (ngx_http_lua_cache.c:125)
==31485== by 0x4DDB56: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:187)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:func_newL
fun:lj_func_newL_gc
fun:lj_BC_FNEW
fun:lua_pcall
fun:ngx_http_lua_cache_store_code
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 671 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x526437B: func_newL (lj_func.c:122)
==31485== by 0x526468D: lj_func_newL_gc (lj_func.c:160)
==31485== by 0x525BCF5: lj_BC_FNEW (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4DE473: ngx_http_lua_content_by_chunk (ngx_http_lua_contentby.c:120)
==31485== by 0x4DE54D: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:310)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:func_newL
fun:lj_func_newL_gc
fun:lj_BC_FNEW
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_content_by_chunk
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 40 bytes in 2 blocks are definitely lost in loss record 672 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x526437B: func_newL (lj_func.c:122)
==31485== by 0x52645B8: lj_func_newL_empty (lj_func.c:138)
==31485== by 0x527B198: cpparser (lj_load.c:42)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:func_newL
fun:lj_func_newL_empty
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 42 bytes in 2 blocks are definitely lost in loss record 681 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x52BF443: luaopen_package (lib_package.c:588)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 42 bytes in 2 blocks are definitely lost in loss record 682 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7A01: ngx_http_lua_inject_core_consts (ngx_http_lua_consts.c:28)
==31485== by 0x4DD217: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:721)
==31485== by 0x4DD217: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD217: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD217: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_core_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 42 bytes in 2 blocks are definitely lost in loss record 683 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7A62: ngx_http_lua_inject_core_consts (ngx_http_lua_consts.c:37)
==31485== by 0x4DD217: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:721)
==31485== by 0x4DD217: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD217: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD217: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_core_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 42 bytes in 2 blocks are definitely lost in loss record 684 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C2754: ngx_http_lua_inject_log_consts (ngx_http_lua_log.c:298)
==31485== by 0x4C2754: ngx_http_lua_inject_log_api (ngx_http_lua_log.c:274)
==31485== by 0x4DD21F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:723)
==31485== by 0x4DD21F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD21F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD21F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_log_consts
fun:ngx_http_lua_inject_log_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 42 bytes in 2 blocks are definitely lost in loss record 685 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C2792: ngx_http_lua_inject_log_consts (ngx_http_lua_log.c:304)
==31485== by 0x4C2792: ngx_http_lua_inject_log_api (ngx_http_lua_log.c:274)
==31485== by 0x4DD21F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:723)
==31485== by 0x4DD21F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD21F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD21F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_log_consts
fun:ngx_http_lua_inject_log_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 42 bytes in 2 blocks are definitely lost in loss record 686 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C27D0: ngx_http_lua_inject_log_consts (ngx_http_lua_log.c:310)
==31485== by 0x4C27D0: ngx_http_lua_inject_log_api (ngx_http_lua_log.c:274)
==31485== by 0x4DD21F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:723)
==31485== by 0x4DD21F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD21F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD21F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_log_consts
fun:ngx_http_lua_inject_log_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 42 bytes in 2 blocks are definitely lost in loss record 687 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CBD56: ngx_http_lua_inject_resp_header_api (ngx_http_lua_headers.c:1031)
==31485== by 0x4DD275: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:737)
==31485== by 0x4DD275: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD275: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD275: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_resp_header_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 42 bytes in 2 blocks are definitely lost in loss record 688 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4ED37C: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:262)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 42 bytes in 2 blocks are definitely lost in loss record 689 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F5A72: ngx_http_lua_inject_uthread_api (ngx_http_lua_uthread.c:40)
==31485== by 0x4DD2B4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:743)
==31485== by 0x4DD2B4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2B4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2B4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_uthread_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 42 bytes in 2 blocks are definitely lost in loss record 690 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F2EA: lua_pushlstring (lj_api.c:640)
==31485== by 0x4F72E2: ngx_http_lua_inject_config_api (ngx_http_lua_config.c:47)
==31485== by 0x4DD2C4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:745)
==31485== by 0x4DD2C4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2C4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2C4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_pushlstring
fun:ngx_http_lua_inject_config_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 42 bytes in 2 blocks are definitely lost in loss record 691 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B2B9F: lj_buf_str (lj_buf.h:100)
==31485== by 0x52B2B9F: cp_ident (lj_cparse.c:167)
==31485== by 0x52B2B9F: cp_next_ (lj_cparse.c:289)
==31485== by 0x52B2B9F: cp_next (lj_cparse.c:332)
==31485== by 0x52B2F58: cp_opt (lj_cparse.c:393)
==31485== by 0x52B31EC: cp_declarator (lj_cparse.c:1643)
==31485== by 0x52B4AF8: cp_decl_struct (lj_cparse.c:1336)
==31485== by 0x52B5252: cp_decl_spec (lj_cparse.c:1491)
==31485== by 0x52B5ADB: cp_decl_multi (lj_cparse.c:1792)
==31485== by 0x52B60BC: cpcparser (lj_cparse.c:1868)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52B6158: lj_cparse (lj_cparse.c:1881)
==31485== by 0x52C24B3: lj_cf_ffi_cdef (lib_ffi.c:487)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_buf_str
fun:cp_ident
fun:cp_next_
fun:cp_next
fun:cp_opt
fun:cp_declarator
fun:cp_decl_struct
fun:cp_decl_spec
fun:cp_decl_multi
fun:cpcparser
fun:lj_vm_cpcall
fun:lj_cparse
fun:lj_cf_ffi_cdef
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 42 bytes in 2 blocks are definitely lost in loss record 692 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x527906A: parse_for_num (lj_parse.c:2482)
==31485== by 0x527906A: parse_for (lj_parse.c:2575)
==31485== by 0x527906A: parse_stmt (lj_parse.c:2638)
==31485== by 0x527906A: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_for_num
fun:parse_for
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 42 bytes in 2 blocks are definitely lost in loss record 693 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x527878B: parse_local (lj_parse.c:2240)
==31485== by 0x527878B: parse_stmt (lj_parse.c:2648)
==31485== by 0x527878B: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 42 bytes in 2 blocks are definitely lost in loss record 694 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x5278AAC: parse_func (lj_parse.c:2281)
==31485== by 0x5278AAC: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AAC: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 698 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x52BDB19: luaopen_io (lib_io.c:532)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:luaopen_io
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 699 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x52BCE6A: io_std_new (lib_io.c:524)
==31485== by 0x52BDB52: luaopen_io (lib_io.c:534)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:io_std_new
fun:luaopen_io
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 700 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F2EA: lua_pushlstring (lj_api.c:640)
==31485== by 0x52C21C4: luaopen_jit (lib_jit.c:765)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_pushlstring
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 701 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B64D2: lj_lib_register (lj_lib.c:110)
==31485== by 0x52C2265: luaopen_jit (lib_jit.c:778)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 702 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D79E0: ngx_http_lua_inject_core_consts (ngx_http_lua_consts.c:25)
==31485== by 0x4DD217: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:721)
==31485== by 0x4DD217: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD217: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD217: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_core_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 703 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7A43: ngx_http_lua_inject_core_consts (ngx_http_lua_consts.c:34)
==31485== by 0x4DD217: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:721)
==31485== by 0x4DD217: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD217: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD217: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_core_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 704 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C2716: ngx_http_lua_inject_log_consts (ngx_http_lua_log.c:292)
==31485== by 0x4C2716: ngx_http_lua_inject_log_api (ngx_http_lua_log.c:274)
==31485== by 0x4DD21F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:723)
==31485== by 0x4DD21F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD21F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD21F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_log_consts
fun:ngx_http_lua_inject_log_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 705 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C2735: ngx_http_lua_inject_log_consts (ngx_http_lua_log.c:295)
==31485== by 0x4C2735: ngx_http_lua_inject_log_api (ngx_http_lua_log.c:274)
==31485== by 0x4DD21F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:723)
==31485== by 0x4DD21F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD21F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD21F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_log_consts
fun:ngx_http_lua_inject_log_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 706 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C27EF: ngx_http_lua_inject_log_consts (ngx_http_lua_log.c:313)
==31485== by 0x4C27EF: ngx_http_lua_inject_log_api (ngx_http_lua_log.c:274)
==31485== by 0x4DD21F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:723)
==31485== by 0x4DD21F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD21F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD21F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_log_consts
fun:ngx_http_lua_inject_log_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 707 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C6C7D: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:230)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 708 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4EEA06: ngx_http_lua_inject_sleep_api (ngx_http_lua_sleep.c:150)
==31485== by 0x4DD252: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:729)
==31485== by 0x4DD252: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD252: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD252: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_sleep_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 709 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F5A4E: ngx_http_lua_inject_uthread_api (ngx_http_lua_uthread.c:37)
==31485== by 0x4DD2B4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:743)
==31485== by 0x4DD2B4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2B4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2B4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_uthread_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 710 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F7175: ngx_http_lua_inject_timer_api (ngx_http_lua_timer.c:61)
==31485== by 0x4DD2BC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:744)
==31485== by 0x4DD2BC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2BC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2BC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_timer_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 711 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F71CF: ngx_http_lua_inject_timer_api (ngx_http_lua_timer.c:69)
==31485== by 0x4DD2BC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:744)
==31485== by 0x4DD2BC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2BC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2BC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_timer_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 712 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F7444: ngx_http_lua_inject_worker_api (ngx_http_lua_worker.c:40)
==31485== by 0x4DD2CC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:746)
==31485== by 0x4DD2CC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2CC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2CC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_worker_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 713 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B6B28: lj_lib_postreg (lj_lib.c:176)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_postreg
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 714 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5278EE6: parse_if (lj_parse.c:2611)
==31485== by 0x5278EE6: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278EE6: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x52785F2: parse_while (lj_parse.c:2418)
==31485== by 0x52785F2: parse_stmt (lj_parse.c:2630)
==31485== by 0x52785F2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_while
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 715 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527774C: expr_table (lj_parse.c:1714)
==31485== by 0x5277269: expr_simple (lj_parse.c:2004)
==31485== by 0x5277269: expr_unop (lj_parse.c:2077)
==31485== by 0x5277269: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_table
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 44 bytes in 2 blocks are definitely lost in loss record 716 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x5277627: expr_list (lj_parse.c:1877)
==31485== by 0x5277F52: parse_args (lj_parse.c:1902)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x5278504: parse_call_assign (lj_parse.c:2228)
==31485== by 0x5278504: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278504: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:expr_list
fun:parse_args
fun:expr_primary
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 46 bytes in 2 blocks are definitely lost in loss record 722 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x52BF48B: luaopen_package (lib_package.c:591)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 46 bytes in 2 blocks are definitely lost in loss record 723 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x52BF4B8: luaopen_package (lib_package.c:593)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 46 bytes in 2 blocks are definitely lost in loss record 724 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x52BCE6A: io_std_new (lib_io.c:524)
==31485== by 0x52BDB74: luaopen_io (lib_io.c:535)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:io_std_new
fun:luaopen_io
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 46 bytes in 2 blocks are definitely lost in loss record 725 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x52BCE6A: io_std_new (lib_io.c:524)
==31485== by 0x52BDB93: luaopen_io (lib_io.c:536)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:io_std_new
fun:luaopen_io
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 46 bytes in 2 blocks are definitely lost in loss record 726 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C27B1: ngx_http_lua_inject_log_consts (ngx_http_lua_log.c:307)
==31485== by 0x4C27B1: ngx_http_lua_inject_log_api (ngx_http_lua_log.c:274)
==31485== by 0x4DD21F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:723)
==31485== by 0x4DD21F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD21F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD21F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_log_consts
fun:ngx_http_lua_inject_log_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 46 bytes in 2 blocks are definitely lost in loss record 727 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4ED783: ngx_http_lua_inject_req_socket_api (ngx_http_lua_socket_tcp.c:372)
==31485== by 0x4D9825: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2117)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_socket_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 46 bytes in 2 blocks are definitely lost in loss record 728 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CBD0E: ngx_http_lua_inject_resp_header_api (ngx_http_lua_headers.c:1024)
==31485== by 0x4DD275: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:737)
==31485== by 0x4DD275: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD275: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD275: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_resp_header_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 46 bytes in 2 blocks are definitely lost in loss record 729 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4ED0D1: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:208)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 46 bytes in 2 blocks are definitely lost in loss record 730 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F726E: ngx_http_lua_inject_config_api (ngx_http_lua_config.c:36)
==31485== by 0x4DD2C4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:745)
==31485== by 0x4DD2C4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2C4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2C4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_config_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 46 bytes in 2 blocks are definitely lost in loss record 731 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F7456: ngx_http_lua_inject_worker_api (ngx_http_lua_worker.c:42)
==31485== by 0x4DD2CC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:746)
==31485== by 0x4DD2CC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2CC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2CC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_worker_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 46 bytes in 2 blocks are definitely lost in loss record 732 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F04B7: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:265)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 46 bytes in 2 blocks are definitely lost in loss record 733 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 46 bytes in 2 blocks are definitely lost in loss record 734 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x5277651: expr (lj_parse.c:2109)
==31485== by 0x5277651: expr_cond (lj_parse.c:2124)
==31485== by 0x527930D: parse_then (lj_parse.c:2589)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_cond
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 46 bytes in 2 blocks are definitely lost in loss record 735 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277F41: parse_args (lj_parse.c:1898)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x5278504: parse_call_assign (lj_parse.c:2228)
==31485== by 0x5278504: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278504: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:parse_args
fun:expr_primary
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 750 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F2EA: lua_pushlstring (lj_api.c:640)
==31485== by 0x52B95F8: luaopen_base (lib_base.c:664)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_pushlstring
fun:luaopen_base
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 751 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x52BF3F3: luaopen_package (lib_package.c:584)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 752 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x52BF4E5: luaopen_package (lib_package.c:595)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 753 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526FF5B: lua_getfield (lj_api.c:800)
==31485== by 0x52B62D5: lib_create_table (lj_lib.c:32)
==31485== by 0x52B62D5: lj_lib_register (lj_lib.c:78)
==31485== by 0x52C2265: luaopen_jit (lib_jit.c:778)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_getfield
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 754 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C55CF: ngx_http_lua_inject_ndk_api (ngx_http_lua_ndk.c:177)
==31485== by 0x4DD139: ngx_http_lua_init_globals (ngx_http_lua_util.c:702)
==31485== by 0x4DD139: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD139: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_ndk_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 755 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7C93: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:99)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 756 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C6B5D: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:206)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 757 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C6BA5: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:212)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 758 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C8C0E: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:83)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 759 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C5276: ngx_http_lua_inject_subrequest_api (ngx_http_lua_subrequest.c:1427)
==31485== by 0x4DD24A: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:728)
==31485== by 0x4DD24A: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD24A: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD24A: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_subrequest_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 760 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CE7C4: ngx_http_lua_inject_req_uri_api (ngx_http_lua_uri.c:25)
==31485== by 0x4D980D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2114)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_uri_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 761 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5278117: expr_primary (lj_parse.c:1958)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B52B: luaL_loadbufferx (lj_load.c:143)
==31485== by 0x4ED1C5: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:215)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadbufferx
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 762 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4ED259: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:234)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 763 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F73D8: ngx_http_lua_inject_worker_api (ngx_http_lua_worker.c:31)
==31485== by 0x4DD2CC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:746)
==31485== by 0x4DD2CC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2CC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2CC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_worker_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 764 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F046F: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:259)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 765 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F04DB: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:268)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 766 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F0554: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:280)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 767 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x52787BE: parse_local (lj_parse.c:2259)
==31485== by 0x52787BE: parse_stmt (lj_parse.c:2648)
==31485== by 0x52787BE: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 768 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x5277651: expr (lj_parse.c:2109)
==31485== by 0x5277651: expr_cond (lj_parse.c:2124)
==31485== by 0x527930D: parse_then (lj_parse.c:2589)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x52785F2: parse_while (lj_parse.c:2418)
==31485== by 0x52785F2: parse_stmt (lj_parse.c:2630)
==31485== by 0x52785F2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_cond
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_while
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 769 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x5277627: expr_list (lj_parse.c:1877)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 770 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B2B9F: lj_buf_str (lj_buf.h:100)
==31485== by 0x52B2B9F: cp_ident (lj_cparse.c:167)
==31485== by 0x52B2B9F: cp_next_ (lj_cparse.c:289)
==31485== by 0x52B2B9F: cp_next (lj_cparse.c:332)
==31485== by 0x52B50CF: cp_decl_spec (lj_cparse.c:1480)
==31485== by 0x52B5651: cp_decl_func (lj_cparse.c:1594)
==31485== by 0x52B345A: cp_declarator (lj_cparse.c:1690)
==31485== by 0x52B5BDC: cp_decl_multi (lj_cparse.c:1801)
==31485== by 0x52B60BC: cpcparser (lj_cparse.c:1868)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52B6158: lj_cparse (lj_cparse.c:1881)
==31485== by 0x52C24B3: lj_cf_ffi_cdef (lib_ffi.c:487)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_buf_str
fun:cp_ident
fun:cp_next_
fun:cp_next
fun:cp_decl_spec
fun:cp_decl_func
fun:cp_declarator
fun:cp_decl_multi
fun:cpcparser
fun:lj_vm_cpcall
fun:lj_cparse
fun:lj_cf_ffi_cdef
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 771 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x526437B: func_newL (lj_func.c:122)
==31485== by 0x526468D: lj_func_newL_gc (lj_func.c:160)
==31485== by 0x525BCF5: lj_BC_FNEW (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:func_newL
fun:lj_func_newL_gc
fun:lj_BC_FNEW
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 48 bytes in 2 blocks are definitely lost in loss record 772 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x526477F: func_finduv (lj_func.c:52)
==31485== by 0x526477F: lj_func_newL_gc (lj_func.c:169)
==31485== by 0x525BCF5: lj_BC_FNEW (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:func_finduv
fun:lj_func_newL_gc
fun:lj_BC_FNEW
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 50 bytes in 2 blocks are definitely lost in loss record 775 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F896: luaL_newmetatable (lj_api.c:713)
==31485== by 0x52BF34B: luaopen_package (lib_package.c:570)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:luaL_newmetatable
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 50 bytes in 2 blocks are definitely lost in loss record 776 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F2EA: lua_pushlstring (lj_api.c:640)
==31485== by 0x52B74A5: luaL_findtable (lib_aux.c:89)
==31485== by 0x52BF4D1: luaopen_package (lib_package.c:594)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_pushlstring
fun:luaL_findtable
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 50 bytes in 2 blocks are definitely lost in loss record 777 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x52B6A97: lj_lib_prereg (lj_lib.c:168)
==31485== by 0x52C2248: luaopen_jit (lib_jit.c:775)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:lj_lib_prereg
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 50 bytes in 2 blocks are definitely lost in loss record 778 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7A84: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:47)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 50 bytes in 2 blocks are definitely lost in loss record 779 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7AC2: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:53)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 50 bytes in 2 blocks are definitely lost in loss record 780 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7A22: ngx_http_lua_inject_core_consts (ngx_http_lua_consts.c:31)
==31485== by 0x4DD217: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:721)
==31485== by 0x4DD217: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD217: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD217: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_core_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 50 bytes in 2 blocks are definitely lost in loss record 781 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C8C56: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:90)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 50 bytes in 2 blocks are definitely lost in loss record 782 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C6420: ngx_http_lua_inject_control_api (ngx_http_lua_control.c:31)
==31485== by 0x4DD242: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:727)
==31485== by 0x4DD242: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD242: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD242: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_control_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 50 bytes in 2 blocks are definitely lost in loss record 783 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C64B0: ngx_http_lua_inject_control_api (ngx_http_lua_control.c:49)
==31485== by 0x4DD242: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:727)
==31485== by 0x4DD242: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD242: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD242: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_control_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 50 bytes in 2 blocks are definitely lost in loss record 784 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F050C: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:274)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 50 bytes in 2 blocks are definitely lost in loss record 785 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F0530: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:277)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 50 bytes in 2 blocks are definitely lost in loss record 786 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F0578: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:283)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 50 bytes in 2 blocks are definitely lost in loss record 787 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x527878B: parse_local (lj_parse.c:2240)
==31485== by 0x527878B: parse_stmt (lj_parse.c:2648)
==31485== by 0x527878B: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 796 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526FF5B: lua_getfield (lj_api.c:800)
==31485== by 0x52B62D5: lib_create_table (lj_lib.c:32)
==31485== by 0x52B62D5: lj_lib_register (lj_lib.c:78)
==31485== by 0x52B96E5: luaopen_base (lib_base.c:667)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_getfield
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_base
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 797 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x52B6A97: lj_lib_prereg (lj_lib.c:168)
==31485== by 0x52BC6F0: luaopen_table (lib_table.c:323)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:lj_lib_prereg
fun:luaopen_table
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 798 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7AA3: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:50)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 799 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7AE1: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:56)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 800 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7B5D: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:68)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 801 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7B7C: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:71)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 802 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7BD9: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:80)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 803 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7EFF: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:161)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 804 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C6BC9: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:215)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 805 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C6C59: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:227)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 806 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C6CC5: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:236)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 807 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F525C: ngx_http_lua_inject_phase_api (ngx_http_lua_phase.c:107)
==31485== by 0x4DD25A: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:730)
==31485== by 0x4DD25A: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD25A: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD25A: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_phase_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 808 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CE364: ngx_http_lua_inject_req_body_api (ngx_http_lua_req_body.c:40)
==31485== by 0x4D981D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2116)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_body_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 809 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4ED50B: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:303)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 810 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F72F4: ngx_http_lua_inject_config_api (ngx_http_lua_config.c:48)
==31485== by 0x4DD2C4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:745)
==31485== by 0x4DD2C4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2C4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2C4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_config_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 811 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5278C99: parse_for_iter (lj_parse.c:2554)
==31485== by 0x5278C99: parse_for (lj_parse.c:2577)
==31485== by 0x5278C99: parse_stmt (lj_parse.c:2638)
==31485== by 0x5278C99: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B52B: luaL_loadbufferx (lj_load.c:143)
==31485== by 0x4F05C8: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:320)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_for_iter
fun:parse_for
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadbufferx
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 812 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 52 bytes in 2 blocks are definitely lost in loss record 813 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277F41: parse_args (lj_parse.c:1898)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 54 bytes in 2 blocks are definitely lost in loss record 817 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F2EA: lua_pushlstring (lj_api.c:640)
==31485== by 0x52BF477: luaopen_package (lib_package.c:590)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_pushlstring
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 54 bytes in 2 blocks are definitely lost in loss record 818 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4DD16F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:716)
==31485== by 0x4DD16F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD16F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD16F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 54 bytes in 2 blocks are definitely lost in loss record 819 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7B3E: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:65)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 54 bytes in 2 blocks are definitely lost in loss record 820 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7C17: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:86)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 54 bytes in 2 blocks are definitely lost in loss record 821 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7C36: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:89)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 54 bytes in 2 blocks are definitely lost in loss record 822 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7F7B: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:173)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 54 bytes in 2 blocks are definitely lost in loss record 823 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C6B81: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:209)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 54 bytes in 2 blocks are definitely lost in loss record 824 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C8B12: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:62)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 54 bytes in 2 blocks are definitely lost in loss record 825 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C8C9E: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:97)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 54 bytes in 2 blocks are definitely lost in loss record 826 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CBDA1: ngx_http_lua_inject_req_header_api (ngx_http_lua_headers.c:1042)
==31485== by 0x4D9802: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2113)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_header_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 54 bytes in 2 blocks are definitely lost in loss record 827 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CBDE9: ngx_http_lua_inject_req_header_api (ngx_http_lua_headers.c:1048)
==31485== by 0x4D9802: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2113)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_header_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 54 bytes in 2 blocks are definitely lost in loss record 828 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F4C35: ngx_http_lua_inject_req_method_api (ngx_http_lua_req_method.c:26)
==31485== by 0x4D982D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2118)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_method_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 54 bytes in 2 blocks are definitely lost in loss record 829 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F4C59: ngx_http_lua_inject_req_method_api (ngx_http_lua_req_method.c:29)
==31485== by 0x4D982D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2118)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_method_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 54 bytes in 2 blocks are definitely lost in loss record 830 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C6D10: ngx_http_lua_inject_req_time_api (ngx_http_lua_time.c:247)
==31485== by 0x4D9835: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2119)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_time_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 54 bytes in 2 blocks are definitely lost in loss record 831 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4ED2A1: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:240)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 56 bytes in 2 blocks are definitely lost in loss record 833 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x52B6A97: lj_lib_prereg (lj_lib.c:168)
==31485== by 0x52BC713: luaopen_table (lib_table.c:324)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:lj_lib_prereg
fun:luaopen_table
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 56 bytes in 2 blocks are definitely lost in loss record 834 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x52B6A97: lj_lib_prereg (lj_lib.c:168)
==31485== by 0x52C222F: luaopen_jit (lib_jit.c:771)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:lj_lib_prereg
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 56 bytes in 2 blocks are definitely lost in loss record 835 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4DD131: ngx_http_lua_init_globals (ngx_http_lua_util.c:699)
==31485== by 0x4DD131: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD131: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 56 bytes in 2 blocks are definitely lost in loss record 836 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7B00: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:59)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 56 bytes in 2 blocks are definitely lost in loss record 837 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C6C35: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:224)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 56 bytes in 2 blocks are definitely lost in loss record 838 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C6CA1: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:233)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 56 bytes in 2 blocks are definitely lost in loss record 839 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C8B5A: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:68)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 56 bytes in 2 blocks are definitely lost in loss record 840 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C8B7E: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:71)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 56 bytes in 2 blocks are definitely lost in loss record 841 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C8C7A: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:94)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 56 bytes in 2 blocks are definitely lost in loss record 842 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C6468: ngx_http_lua_inject_control_api (ngx_http_lua_control.c:39)
==31485== by 0x4DD242: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:727)
==31485== by 0x4DD242: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD242: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD242: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_control_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 56 bytes in 2 blocks are definitely lost in loss record 843 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CBE0D: ngx_http_lua_inject_req_header_api (ngx_http_lua_headers.c:1051)
==31485== by 0x4D9802: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2113)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_header_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 56 bytes in 2 blocks are definitely lost in loss record 844 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CE460: ngx_http_lua_inject_req_body_api (ngx_http_lua_req_body.c:61)
==31485== by 0x4D981D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2116)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_body_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 56 bytes in 2 blocks are definitely lost in loss record 845 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CE484: ngx_http_lua_inject_req_body_api (ngx_http_lua_req_body.c:64)
==31485== by 0x4D981D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2116)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_body_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 56 bytes in 2 blocks are definitely lost in loss record 846 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C72A9: ngx_http_lua_inject_req_misc_api (ngx_http_lua_misc.c:41)
==31485== by 0x4D983D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2120)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_misc_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 56 bytes in 2 blocks are definitely lost in loss record 847 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4ED2C5: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:243)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 56 bytes in 2 blocks are definitely lost in loss record 848 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F4693: ngx_http_lua_inject_socket_udp_api (ngx_http_lua_socket_udp.c:88)
==31485== by 0x4DD2A9: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:742)
==31485== by 0x4DD2A9: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2A9: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2A9: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_socket_udp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 58 bytes in 2 blocks are definitely lost in loss record 851 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7B1F: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:62)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 58 bytes in 2 blocks are definitely lost in loss record 852 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7F5C: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:170)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 58 bytes in 2 blocks are definitely lost in loss record 853 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CA357: ngx_http_lua_inject_output_api (ngx_http_lua_output.c:664)
==31485== by 0x4DD227: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:724)
==31485== by 0x4DD227: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD227: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD227: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_output_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 58 bytes in 2 blocks are definitely lost in loss record 854 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C8B36: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:65)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 58 bytes in 2 blocks are definitely lost in loss record 855 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CBD7D: ngx_http_lua_inject_req_header_api (ngx_http_lua_headers.c:1039)
==31485== by 0x4D9802: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2113)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_header_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 58 bytes in 2 blocks are definitely lost in loss record 856 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CBDC5: ngx_http_lua_inject_req_header_api (ngx_http_lua_headers.c:1045)
==31485== by 0x4D9802: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2113)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_header_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 58 bytes in 2 blocks are definitely lost in loss record 857 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CEFF9: ngx_http_lua_inject_req_args_api (ngx_http_lua_args.c:368)
==31485== by 0x4D9815: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2115)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_args_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 58 bytes in 2 blocks are definitely lost in loss record 858 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CF01D: ngx_http_lua_inject_req_args_api (ngx_http_lua_args.c:371)
==31485== by 0x4D9815: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2115)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_args_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 58 bytes in 2 blocks are definitely lost in loss record 859 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CE388: ngx_http_lua_inject_req_body_api (ngx_http_lua_req_body.c:43)
==31485== by 0x4D981D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2116)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_body_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 58 bytes in 2 blocks are definitely lost in loss record 860 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4ED27D: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:237)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 58 bytes in 2 blocks are definitely lost in loss record 861 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4ED457: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:286)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 58 bytes in 2 blocks are definitely lost in loss record 862 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4ED59B: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:315)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 58 bytes in 2 blocks are definitely lost in loss record 863 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x527878B: parse_local (lj_parse.c:2240)
==31485== by 0x527878B: parse_stmt (lj_parse.c:2648)
==31485== by 0x527878B: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 58 bytes in 2 blocks are definitely lost in loss record 864 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x5277627: expr_list (lj_parse.c:1877)
==31485== by 0x5277F52: parse_args (lj_parse.c:1902)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x5278504: parse_call_assign (lj_parse.c:2228)
==31485== by 0x5278504: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278504: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5278EE6: parse_if (lj_parse.c:2611)
==31485== by 0x5278EE6: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278EE6: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:expr_list
fun:parse_args
fun:expr_primary
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 868 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7B9B: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:74)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 869 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7C55: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:93)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 870 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7CD1: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:105)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 871 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7EE0: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:158)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 872 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C8BA2: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:74)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 873 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C8BC6: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:77)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 874 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C8BEA: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:80)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 875 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C529A: ngx_http_lua_inject_subrequest_api (ngx_http_lua_subrequest.c:1430)
==31485== by 0x4DD24A: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:728)
==31485== by 0x4DD24A: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD24A: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD24A: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_subrequest_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 876 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CF065: ngx_http_lua_inject_req_args_api (ngx_http_lua_args.c:377)
==31485== by 0x4D9815: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2115)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_args_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 877 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CE3AC: ngx_http_lua_inject_req_body_api (ngx_http_lua_req_body.c:46)
==31485== by 0x4D981D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2116)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_body_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 878 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CE3F4: ngx_http_lua_inject_req_body_api (ngx_http_lua_req_body.c:52)
==31485== by 0x4D981D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2116)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_body_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 879 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F7199: ngx_http_lua_inject_timer_api (ngx_http_lua_timer.c:64)
==31485== by 0x4DD2BC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:744)
==31485== by 0x4DD2BC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2BC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2BC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_timer_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 880 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F71BD: ngx_http_lua_inject_timer_api (ngx_http_lua_timer.c:67)
==31485== by 0x4DD2BC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:744)
==31485== by 0x4DD2BC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2BC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2BC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_timer_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 881 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F728D: ngx_http_lua_inject_config_api (ngx_http_lua_config.c:39)
==31485== by 0x4DD2C4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:745)
==31485== by 0x4DD2C4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2C4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2C4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_config_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 882 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277F41: parse_args (lj_parse.c:1898)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x5278504: parse_call_assign (lj_parse.c:2228)
==31485== by 0x5278504: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278504: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:parse_args
fun:expr_primary
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 883 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5274E78: lex_str (lj_parse.c:1024)
==31485== by 0x5278055: expr_primary (lj_parse.c:1944)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:lex_str
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 60 bytes in 2 blocks are definitely lost in loss record 884 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F2EA: lua_pushlstring (lj_api.c:640)
==31485== by 0x52B719A: emptybuffer (lib_aux.c:188)
==31485== by 0x52B7828: luaL_pushresult (lib_aux.c:232)
==31485== by 0x52B799E: luaL_gsub (lib_aux.c:174)
==31485== by 0x52BE95C: mksymname (lib_package.c:210)
==31485== by 0x52BEFB1: lj_cf_package_loader_preload (lib_package.c:391)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_pushlstring
fun:emptybuffer
fun:luaL_pushresult
fun:luaL_gsub
fun:mksymname
fun:lj_cf_package_loader_preload
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 62 bytes in 2 blocks are definitely lost in loss record 885 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7BBA: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:77)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 62 bytes in 2 blocks are definitely lost in loss record 886 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7D8B: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:124)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 62 bytes in 2 blocks are definitely lost in loss record 887 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7E45: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:143)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 62 bytes in 2 blocks are definitely lost in loss record 888 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7E64: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:146)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 62 bytes in 2 blocks are definitely lost in loss record 889 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4CF041: ngx_http_lua_inject_req_args_api (ngx_http_lua_args.c:374)
==31485== by 0x4D9815: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2115)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_req_args_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 62 bytes in 2 blocks are definitely lost in loss record 890 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4ED577: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:312)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 62 bytes in 2 blocks are definitely lost in loss record 891 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5274E78: lex_str (lj_parse.c:1024)
==31485== by 0x5278055: expr_primary (lj_parse.c:1944)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:lex_str
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 62 bytes in 2 blocks are definitely lost in loss record 892 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x5277627: expr_list (lj_parse.c:1877)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 1 blocks are definitely lost in loss record 901 of 1,495
==31485== at 0x4C2A2C6: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5261EF4: lj_buf_shrink (lj_buf.c:56)
==31485== by 0x52601F8: atomic (lj_gc.c:597)
==31485== by 0x52601F8: gc_onestep (lj_gc.c:622)
==31485== by 0x526060B: lj_gc_step (lj_gc.c:689)
==31485== by 0x5276410: lj_parse_keepstr (lj_parse.c:240)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:realloc
fun:lj_mem_realloc
fun:lj_buf_shrink
fun:atomic
fun:gc_onestep
fun:lj_gc_step
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 1 blocks are definitely lost in loss record 902 of 1,495
==31485== at 0x4C2A2C6: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5261EF4: lj_buf_shrink (lj_buf.c:56)
==31485== by 0x52601F8: atomic (lj_gc.c:597)
==31485== by 0x52601F8: gc_onestep (lj_gc.c:622)
==31485== by 0x526060B: lj_gc_step (lj_gc.c:689)
==31485== by 0x5276410: lj_parse_keepstr (lj_parse.c:240)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5276634: parse_body (lj_parse.c:1869)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:realloc
fun:lj_mem_realloc
fun:lj_buf_shrink
fun:atomic
fun:gc_onestep
fun:lj_gc_step
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 903 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x5267FA2: cpluaopen (lj_state.c:149)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52682BF: lua_newstate (lj_state.c:222)
==31485== by 0x52B7B71: luaL_newstate (lib_aux.c:334)
==31485== by 0x4DCDA4: ngx_http_lua_new_state (ngx_http_lua_util.c:204)
==31485== by 0x4DCDA4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:cpluaopen
fun:lj_vm_cpcall
fun:lua_newstate
fun:luaL_newstate
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 904 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x5267FB4: cpluaopen (lj_state.c:150)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52682BF: lua_newstate (lj_state.c:222)
==31485== by 0x52B7B71: luaL_newstate (lib_aux.c:334)
==31485== by 0x4DCDA4: ngx_http_lua_new_state (ngx_http_lua_util.c:204)
==31485== by 0x4DCDA4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:cpluaopen
fun:lj_vm_cpcall
fun:lua_newstate
fun:luaL_newstate
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 905 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B62C5: lib_create_table (lj_lib.c:31)
==31485== by 0x52B62C5: lj_lib_register (lj_lib.c:78)
==31485== by 0x52B96C8: luaopen_base (lib_base.c:666)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_base
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 906 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F90E: luaL_newmetatable (lj_api.c:715)
==31485== by 0x52BF34B: luaopen_package (lib_package.c:570)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:luaL_newmetatable
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 907 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x52B69D9: lj_lib_pushcc (lj_lib.c:155)
==31485== by 0x52BF361: luaopen_package (lib_package.c:571)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:lj_lib_pushcc
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 908 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B7593: luaL_pushmodule (lib_aux.c:120)
==31485== by 0x52B76DE: luaL_openlib (lib_aux.c:133)
==31485== by 0x52BF38B: luaopen_package (lib_package.c:573)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:luaL_pushmodule
fun:luaL_openlib
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 909 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52BF4D1: luaopen_package (lib_package.c:594)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 910 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52BC6CD: luaopen_table (lib_table.c:318)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_table
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 911 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x52B6A76: lj_lib_prereg (lj_lib.c:165)
==31485== by 0x52BC6F0: luaopen_table (lib_table.c:323)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:lj_lib_prereg
fun:luaopen_table
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 912 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x52B6A76: lj_lib_prereg (lj_lib.c:165)
==31485== by 0x52BC713: luaopen_table (lib_table.c:324)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:lj_lib_prereg
fun:luaopen_table
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 913 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B689E: lib_create_table (lj_lib.c:44)
==31485== by 0x52B689E: lj_lib_register (lj_lib.c:78)
==31485== by 0x52BDABD: luaopen_io (lib_io.c:530)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_io
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 914 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52BDB36: luaopen_io (lib_io.c:533)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_io
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 915 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52BE43D: luaopen_os (lib_os.c:289)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_os
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 916 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52BBC6F: luaopen_string (lib_string.c:739)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_string
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 917 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52B9C41: luaopen_math (lib_math.c:223)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_math
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 918 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52C053D: luaopen_debug (lib_debug.c:402)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_debug
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 919 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52BA14D: luaopen_bit (lib_bit.c:177)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_bit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 920 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52C2216: luaopen_jit (lib_jit.c:769)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 921 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x52B6A76: lj_lib_prereg (lj_lib.c:165)
==31485== by 0x52C222F: luaopen_jit (lib_jit.c:771)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:lj_lib_prereg
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 922 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x52B6A76: lj_lib_prereg (lj_lib.c:165)
==31485== by 0x52C2248: luaopen_jit (lib_jit.c:775)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:lj_lib_prereg
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 923 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52C2265: luaopen_jit (lib_jit.c:778)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 924 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x52B646D: lj_lib_register (lj_lib.c:92)
==31485== by 0x52C2265: luaopen_jit (lib_jit.c:778)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lj_lib_register
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 925 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x52C4F79: luaL_openlibs (lib_init.c:50)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 926 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4DD02A: ngx_http_lua_init_registry (ngx_http_lua_util.c:661)
==31485== by 0x4DD02A: ngx_http_lua_new_state (ngx_http_lua_util.c:298)
==31485== by 0x4DD02A: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_init_registry
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 927 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4DD05B: ngx_http_lua_init_registry (ngx_http_lua_util.c:667)
==31485== by 0x4DD05B: ngx_http_lua_new_state (ngx_http_lua_util.c:298)
==31485== by 0x4DD05B: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_init_registry
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 928 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4DD087: ngx_http_lua_init_registry (ngx_http_lua_util.c:672)
==31485== by 0x4DD087: ngx_http_lua_new_state (ngx_http_lua_util.c:298)
==31485== by 0x4DD087: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_init_registry
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 929 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4DD0B3: ngx_http_lua_init_registry (ngx_http_lua_util.c:678)
==31485== by 0x4DD0B3: ngx_http_lua_new_state (ngx_http_lua_util.c:298)
==31485== by 0x4DD0B3: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_init_registry
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 930 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4DD0DF: ngx_http_lua_init_registry (ngx_http_lua_util.c:685)
==31485== by 0x4DD0DF: ngx_http_lua_new_state (ngx_http_lua_util.c:298)
==31485== by 0x4DD0DF: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_init_registry
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 931 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4C5544: ngx_http_lua_inject_ndk_api (ngx_http_lua_ndk.c:166)
==31485== by 0x4DD139: ngx_http_lua_init_globals (ngx_http_lua_util.c:702)
==31485== by 0x4DD139: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD139: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_ndk_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 932 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4C5556: ngx_http_lua_inject_ndk_api (ngx_http_lua_ndk.c:168)
==31485== by 0x4DD139: ngx_http_lua_init_globals (ngx_http_lua_util.c:702)
==31485== by 0x4DD139: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD139: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_ndk_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 933 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4C5568: ngx_http_lua_inject_ndk_api (ngx_http_lua_ndk.c:170)
==31485== by 0x4DD139: ngx_http_lua_init_globals (ngx_http_lua_util.c:702)
==31485== by 0x4DD139: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD139: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_ndk_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 934 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C557A: ngx_http_lua_inject_ndk_api (ngx_http_lua_ndk.c:171)
==31485== by 0x4DD139: ngx_http_lua_init_globals (ngx_http_lua_util.c:702)
==31485== by 0x4DD139: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD139: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_ndk_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 935 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C559E: ngx_http_lua_inject_ndk_api (ngx_http_lua_ndk.c:173)
==31485== by 0x4DD139: ngx_http_lua_init_globals (ngx_http_lua_util.c:702)
==31485== by 0x4DD139: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD139: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_ndk_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 936 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4DD14B: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:713)
==31485== by 0x4DD14B: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD14B: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD14B: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 937 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4DD15D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:715)
==31485== by 0x4DD15D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD15D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD15D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 938 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4DD193: ngx_http_lua_inject_arg_api (ngx_http_lua_util.c:2919)
==31485== by 0x4DD193: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:718)
==31485== by 0x4DD193: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD193: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD193: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_arg_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 939 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4DD1A5: ngx_http_lua_inject_arg_api (ngx_http_lua_util.c:2921)
==31485== by 0x4DD1A5: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:718)
==31485== by 0x4DD1A5: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD1A5: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD1A5: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_arg_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 940 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4DD1B7: ngx_http_lua_inject_arg_api (ngx_http_lua_util.c:2923)
==31485== by 0x4DD1B7: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:718)
==31485== by 0x4DD1B7: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD1B7: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD1B7: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_arg_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 941 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4DD1DB: ngx_http_lua_inject_arg_api (ngx_http_lua_util.c:2926)
==31485== by 0x4DD1DB: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:718)
==31485== by 0x4DD1DB: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD1DB: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD1DB: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_arg_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 942 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7CF0: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:108)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 943 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C2801: ngx_http_lua_inject_log_api (ngx_http_lua_log.c:276)
==31485== by 0x4DD21F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:723)
==31485== by 0x4DD21F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD21F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD21F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_log_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 944 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C2825: ngx_http_lua_inject_log_api (ngx_http_lua_log.c:279)
==31485== by 0x4DD21F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:723)
==31485== by 0x4DD21F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD21F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD21F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_log_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 945 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CA345: ngx_http_lua_inject_output_api (ngx_http_lua_output.c:663)
==31485== by 0x4DD227: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:724)
==31485== by 0x4DD227: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD227: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD227: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_output_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 946 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CA369: ngx_http_lua_inject_output_api (ngx_http_lua_output.c:666)
==31485== by 0x4DD227: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:724)
==31485== by 0x4DD227: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD227: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD227: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_output_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 947 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CA38D: ngx_http_lua_inject_output_api (ngx_http_lua_output.c:669)
==31485== by 0x4DD227: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:724)
==31485== by 0x4DD227: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD227: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD227: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_output_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 948 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CA3B1: ngx_http_lua_inject_output_api (ngx_http_lua_output.c:672)
==31485== by 0x4DD227: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:724)
==31485== by 0x4DD227: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD227: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD227: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_output_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 949 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CA3D5: ngx_http_lua_inject_output_api (ngx_http_lua_output.c:675)
==31485== by 0x4DD227: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:724)
==31485== by 0x4DD227: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD227: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD227: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_output_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 950 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C6B4B: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:205)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 951 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C6B6F: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:208)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 952 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C6B93: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:211)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 953 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C6BB7: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:214)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 954 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C6C23: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:223)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 955 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C6C47: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:226)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 956 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C6C6B: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:229)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 957 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C6C8F: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:232)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 958 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C6CB3: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:235)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 959 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C6CD7: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:238)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 960 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4C6CE9: ngx_http_lua_inject_time_api (ngx_http_lua_time.c:239)
==31485== by 0x4DD22F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:725)
==31485== by 0x4DD22F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD22F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD22F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_time_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 961 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C8B48: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:67)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 962 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C8B6C: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:70)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 963 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C8B90: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:73)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 964 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C8C68: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:93)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 965 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C8C8C: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:96)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 966 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C8CB0: ngx_http_lua_inject_string_api (ngx_http_lua_string.c:100)
==31485== by 0x4DD237: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:726)
==31485== by 0x4DD237: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD237: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD237: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_string_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 967 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C640E: ngx_http_lua_inject_control_api (ngx_http_lua_control.c:30)
==31485== by 0x4DD242: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:727)
==31485== by 0x4DD242: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD242: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD242: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_control_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 968 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C6432: ngx_http_lua_inject_control_api (ngx_http_lua_control.c:35)
==31485== by 0x4DD242: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:727)
==31485== by 0x4DD242: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD242: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD242: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_control_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 969 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C6456: ngx_http_lua_inject_control_api (ngx_http_lua_control.c:38)
==31485== by 0x4DD242: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:727)
==31485== by 0x4DD242: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD242: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD242: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_control_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 970 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C649E: ngx_http_lua_inject_control_api (ngx_http_lua_control.c:48)
==31485== by 0x4DD242: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:727)
==31485== by 0x4DD242: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD242: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD242: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_control_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 971 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4C5252: ngx_http_lua_inject_subrequest_api (ngx_http_lua_subrequest.c:1424)
==31485== by 0x4DD24A: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:728)
==31485== by 0x4DD24A: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD24A: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD24A: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_subrequest_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 972 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C5264: ngx_http_lua_inject_subrequest_api (ngx_http_lua_subrequest.c:1426)
==31485== by 0x4DD24A: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:728)
==31485== by 0x4DD24A: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD24A: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD24A: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_subrequest_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 973 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C5288: ngx_http_lua_inject_subrequest_api (ngx_http_lua_subrequest.c:1429)
==31485== by 0x4DD24A: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:728)
==31485== by 0x4DD24A: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD24A: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD24A: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_subrequest_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 974 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4EE9F4: ngx_http_lua_inject_sleep_api (ngx_http_lua_sleep.c:149)
==31485== by 0x4DD252: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:729)
==31485== by 0x4DD252: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD252: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD252: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_sleep_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 975 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F524A: ngx_http_lua_inject_phase_api (ngx_http_lua_phase.c:106)
==31485== by 0x4DD25A: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:730)
==31485== by 0x4DD25A: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD25A: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD25A: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_phase_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 976 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4D2852: ngx_http_lua_inject_regex_api (ngx_http_lua_regex.c:1986)
==31485== by 0x4DD262: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:733)
==31485== by 0x4DD262: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD262: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD262: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_regex_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 977 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4D28AC: ngx_http_lua_inject_regex_api (ngx_http_lua_regex.c:1994)
==31485== by 0x4DD262: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:733)
==31485== by 0x4DD262: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD262: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD262: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_regex_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 978 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4D97FA: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2111)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 979 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CBD6B: ngx_http_lua_inject_req_header_api (ngx_http_lua_headers.c:1038)
==31485== by 0x4D9802: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2113)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_header_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 980 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CBD8F: ngx_http_lua_inject_req_header_api (ngx_http_lua_headers.c:1041)
==31485== by 0x4D9802: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2113)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_header_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 981 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CBDD7: ngx_http_lua_inject_req_header_api (ngx_http_lua_headers.c:1047)
==31485== by 0x4D9802: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2113)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_header_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 982 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CE7B2: ngx_http_lua_inject_req_uri_api (ngx_http_lua_uri.c:24)
==31485== by 0x4D980D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2114)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_uri_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 983 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CEFE7: ngx_http_lua_inject_req_args_api (ngx_http_lua_args.c:367)
==31485== by 0x4D9815: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2115)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_args_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 984 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CF02F: ngx_http_lua_inject_req_args_api (ngx_http_lua_args.c:373)
==31485== by 0x4D9815: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2115)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_args_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 985 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CF053: ngx_http_lua_inject_req_args_api (ngx_http_lua_args.c:376)
==31485== by 0x4D9815: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2115)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_args_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 986 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CE352: ngx_http_lua_inject_req_body_api (ngx_http_lua_req_body.c:39)
==31485== by 0x4D981D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2116)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_body_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 987 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CE376: ngx_http_lua_inject_req_body_api (ngx_http_lua_req_body.c:42)
==31485== by 0x4D981D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2116)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_body_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 988 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CE39A: ngx_http_lua_inject_req_body_api (ngx_http_lua_req_body.c:45)
==31485== by 0x4D981D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2116)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_body_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 989 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CE3BE: ngx_http_lua_inject_req_body_api (ngx_http_lua_req_body.c:48)
==31485== by 0x4D981D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2116)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_body_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 990 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CE3E2: ngx_http_lua_inject_req_body_api (ngx_http_lua_req_body.c:51)
==31485== by 0x4D981D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2116)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_body_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 991 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CE406: ngx_http_lua_inject_req_body_api (ngx_http_lua_req_body.c:54)
==31485== by 0x4D981D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2116)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_body_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 992 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CE42A: ngx_http_lua_inject_req_body_api (ngx_http_lua_req_body.c:57)
==31485== by 0x4D981D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2116)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_body_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 993 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CE44E: ngx_http_lua_inject_req_body_api (ngx_http_lua_req_body.c:60)
==31485== by 0x4D981D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2116)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_body_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 994 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CE472: ngx_http_lua_inject_req_body_api (ngx_http_lua_req_body.c:63)
==31485== by 0x4D981D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2116)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_body_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 995 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED771: ngx_http_lua_inject_req_socket_api (ngx_http_lua_socket_tcp.c:371)
==31485== by 0x4D9825: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2117)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_socket_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 996 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C7297: ngx_http_lua_inject_req_misc_api (ngx_http_lua_misc.c:40)
==31485== by 0x4D983D: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2120)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_req_misc_api
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 997 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4CBC95: ngx_http_lua_inject_resp_header_api (ngx_http_lua_headers.c:1015)
==31485== by 0x4DD275: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:737)
==31485== by 0x4DD275: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD275: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD275: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_resp_header_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 998 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4CBCA7: ngx_http_lua_inject_resp_header_api (ngx_http_lua_headers.c:1017)
==31485== by 0x4DD275: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:737)
==31485== by 0x4DD275: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD275: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD275: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_resp_header_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 999 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4CBD20: ngx_http_lua_inject_resp_header_api (ngx_http_lua_headers.c:1026)
==31485== by 0x4DD275: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:737)
==31485== by 0x4DD275: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD275: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD275: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_resp_header_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,000 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4CBD32: ngx_http_lua_inject_resp_header_api (ngx_http_lua_headers.c:1028)
==31485== by 0x4DD275: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:737)
==31485== by 0x4DD275: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD275: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD275: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_resp_header_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,001 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4CBE6A: ngx_http_lua_create_headers_metatable (ngx_http_lua_headers.c:1068)
==31485== by 0x4DD280: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:738)
==31485== by 0x4DD280: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD280: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD280: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_create_headers_metatable
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,002 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4C7965: ngx_http_lua_inject_variable_api (ngx_http_lua_variable.c:26)
==31485== by 0x4DD288: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:739)
==31485== by 0x4DD288: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD288: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD288: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_variable_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,003 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4C7977: ngx_http_lua_inject_variable_api (ngx_http_lua_variable.c:28)
==31485== by 0x4DD288: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:739)
==31485== by 0x4DD288: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD288: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD288: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_variable_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,004 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4E3DDC: ngx_http_lua_inject_shdict_api (ngx_http_lua_shdict.c:409)
==31485== by 0x4DD293: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:740)
==31485== by 0x4DD293: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD293: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD293: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_shdict_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,005 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED08E: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:203)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,006 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED0A0: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:205)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,007 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED235: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:231)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,008 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED247: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:233)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,009 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED26B: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:236)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,010 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED28F: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:239)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,011 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED2B3: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:242)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,012 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED310: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:253)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,013 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED322: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:255)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,014 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED346: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:258)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,015 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED36A: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:261)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,016 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED38E: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:264)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,017 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED3B2: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:267)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,018 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED40F: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:278)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,019 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED421: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:280)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,020 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED445: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:285)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,021 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED469: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:290)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,022 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED48D: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:293)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,023 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED4B1: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:296)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,024 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED4D5: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:299)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,025 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED4F9: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:302)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,026 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED51D: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:305)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,027 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED541: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:308)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,028 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED565: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:311)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,029 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED589: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:314)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,030 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED5E6: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:324)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,031 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED5F8: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:325)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,032 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED636: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:332)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,033 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED648: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:333)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,034 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED686: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:340)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,035 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED698: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:341)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,036 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED6D6: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:348)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,037 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED6E8: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:349)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,038 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED726: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:358)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,039 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4ED738: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:359)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,040 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F463E: ngx_http_lua_inject_socket_udp_api (ngx_http_lua_socket_udp.c:80)
==31485== by 0x4DD2A9: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:742)
==31485== by 0x4DD2A9: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2A9: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2A9: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_udp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,041 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F466F: ngx_http_lua_inject_socket_udp_api (ngx_http_lua_socket_udp.c:85)
==31485== by 0x4DD2A9: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:742)
==31485== by 0x4DD2A9: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2A9: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2A9: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_udp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,042 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F4681: ngx_http_lua_inject_socket_udp_api (ngx_http_lua_socket_udp.c:87)
==31485== by 0x4DD2A9: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:742)
==31485== by 0x4DD2A9: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2A9: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2A9: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_udp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,043 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F46A5: ngx_http_lua_inject_socket_udp_api (ngx_http_lua_socket_udp.c:90)
==31485== by 0x4DD2A9: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:742)
==31485== by 0x4DD2A9: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2A9: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2A9: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_udp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,044 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F46C9: ngx_http_lua_inject_socket_udp_api (ngx_http_lua_socket_udp.c:93)
==31485== by 0x4DD2A9: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:742)
==31485== by 0x4DD2A9: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2A9: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2A9: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_udp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,045 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F46ED: ngx_http_lua_inject_socket_udp_api (ngx_http_lua_socket_udp.c:96)
==31485== by 0x4DD2A9: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:742)
==31485== by 0x4DD2A9: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2A9: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2A9: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_udp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,046 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F4711: ngx_http_lua_inject_socket_udp_api (ngx_http_lua_socket_udp.c:99)
==31485== by 0x4DD2A9: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:742)
==31485== by 0x4DD2A9: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2A9: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2A9: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_udp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,047 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F476E: ngx_http_lua_inject_socket_udp_api (ngx_http_lua_socket_udp.c:109)
==31485== by 0x4DD2A9: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:742)
==31485== by 0x4DD2A9: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2A9: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2A9: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_udp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,048 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F4780: ngx_http_lua_inject_socket_udp_api (ngx_http_lua_socket_udp.c:110)
==31485== by 0x4DD2A9: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:742)
==31485== by 0x4DD2A9: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2A9: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2A9: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_socket_udp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,049 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F5A2A: ngx_http_lua_inject_uthread_api (ngx_http_lua_uthread.c:34)
==31485== by 0x4DD2B4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:743)
==31485== by 0x4DD2B4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2B4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2B4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_uthread_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,050 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F5A3C: ngx_http_lua_inject_uthread_api (ngx_http_lua_uthread.c:36)
==31485== by 0x4DD2B4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:743)
==31485== by 0x4DD2B4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2B4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2B4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_uthread_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,051 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F5A60: ngx_http_lua_inject_uthread_api (ngx_http_lua_uthread.c:39)
==31485== by 0x4DD2B4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:743)
==31485== by 0x4DD2B4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2B4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2B4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_uthread_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,052 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F5A84: ngx_http_lua_inject_uthread_api (ngx_http_lua_uthread.c:42)
==31485== by 0x4DD2B4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:743)
==31485== by 0x4DD2B4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2B4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2B4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_uthread_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,053 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F712D: ngx_http_lua_inject_timer_api (ngx_http_lua_timer.c:55)
==31485== by 0x4DD2BC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:744)
==31485== by 0x4DD2BC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2BC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2BC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_timer_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,054 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F713F: ngx_http_lua_inject_timer_api (ngx_http_lua_timer.c:57)
==31485== by 0x4DD2BC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:744)
==31485== by 0x4DD2BC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2BC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2BC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_timer_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,055 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F7163: ngx_http_lua_inject_timer_api (ngx_http_lua_timer.c:60)
==31485== by 0x4DD2BC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:744)
==31485== by 0x4DD2BC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2BC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2BC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_timer_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,056 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F7187: ngx_http_lua_inject_timer_api (ngx_http_lua_timer.c:63)
==31485== by 0x4DD2BC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:744)
==31485== by 0x4DD2BC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2BC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2BC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_timer_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,057 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F71AB: ngx_http_lua_inject_timer_api (ngx_http_lua_timer.c:66)
==31485== by 0x4DD2BC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:744)
==31485== by 0x4DD2BC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2BC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2BC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_timer_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,058 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F722B: ngx_http_lua_inject_config_api (ngx_http_lua_config.c:26)
==31485== by 0x4DD2C4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:745)
==31485== by 0x4DD2C4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2C4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2C4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_config_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,059 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F725C: ngx_http_lua_inject_config_api (ngx_http_lua_config.c:35)
==31485== by 0x4DD2C4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:745)
==31485== by 0x4DD2C4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2C4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2C4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_config_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,060 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F72BE: ngx_http_lua_inject_config_api (ngx_http_lua_config.c:44)
==31485== by 0x4DD2C4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:745)
==31485== by 0x4DD2C4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2C4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2C4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_config_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,061 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4F72D0: ngx_http_lua_inject_config_api (ngx_http_lua_config.c:45)
==31485== by 0x4DD2C4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:745)
==31485== by 0x4DD2C4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2C4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2C4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_config_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,062 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F73B4: ngx_http_lua_inject_worker_api (ngx_http_lua_worker.c:28)
==31485== by 0x4DD2CC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:746)
==31485== by 0x4DD2CC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2CC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2CC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_worker_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,063 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4C722D: ngx_http_lua_inject_misc_api (ngx_http_lua_misc.c:28)
==31485== by 0x4DD2D4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:748)
==31485== by 0x4DD2D4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2D4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2D4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_misc_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,064 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C723F: ngx_http_lua_inject_misc_api (ngx_http_lua_misc.c:29)
==31485== by 0x4DD2D4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:748)
==31485== by 0x4DD2D4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2D4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2D4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_misc_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,065 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4C7263: ngx_http_lua_inject_misc_api (ngx_http_lua_misc.c:31)
==31485== by 0x4DD2D4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:748)
==31485== by 0x4DD2D4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2D4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2D4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_misc_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,066 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F0415: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:249)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,067 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F04FA: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:273)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,068 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F051E: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:276)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,069 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F0542: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:279)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,070 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4F0566: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:282)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,071 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52793DB: lj_parse (lj_parse.c:2703)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B52B: luaL_loadbufferx (lj_load.c:143)
==31485== by 0x4F05C8: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:320)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadbufferx
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,072 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5274E78: lex_str (lj_parse.c:1024)
==31485== by 0x5278055: expr_primary (lj_parse.c:1944)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:lex_str
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,073 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B689E: lib_create_table (lj_lib.c:44)
==31485== by 0x52B689E: lj_lib_register (lj_lib.c:78)
==31485== by 0x52C4C2B: luaopen_ffi (lib_ffi.c:856)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,074 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B689E: lib_create_table (lj_lib.c:44)
==31485== by 0x52B689E: lj_lib_register (lj_lib.c:78)
==31485== by 0x52C4C43: luaopen_ffi (lib_ffi.c:857)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,075 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B689E: lib_create_table (lj_lib.c:44)
==31485== by 0x52B689E: lj_lib_register (lj_lib.c:78)
==31485== by 0x52C4CF7: luaopen_ffi (lib_ffi.c:864)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,076 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x5277BF8: expr_table (lj_parse.c:1740)
==31485== by 0x5277269: expr_simple (lj_parse.c:2004)
==31485== by 0x5277269: expr_unop (lj_parse.c:2077)
==31485== by 0x5277269: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:expr_table
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,077 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277F41: parse_args (lj_parse.c:1898)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,078 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262FC3: lj_tab_dup (lj_tab.c:187)
==31485== by 0x525BDAF: lj_BC_TDUP (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_dup
fun:lj_BC_TDUP
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,079 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x5273AB8: fs_init (lj_parse.c:1617)
==31485== by 0x527943E: lj_parse (lj_parse.c:2708)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:fs_init
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,080 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x5273AB8: fs_init (lj_parse.c:1617)
==31485== by 0x5276458: parse_body (lj_parse.c:1846)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:fs_init
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,081 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x5273AB8: fs_init (lj_parse.c:1617)
==31485== by 0x5276458: parse_body (lj_parse.c:1846)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:fs_init
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,082 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x5273AB8: fs_init (lj_parse.c:1617)
==31485== by 0x5276458: parse_body (lj_parse.c:1846)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:fs_init
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,083 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4D8AC4: ngx_http_lua_create_new_globals_table (ngx_http_lua_util.c:184)
==31485== by 0x4D8B6F: ngx_http_lua_new_thread (ngx_http_lua_util.c:326)
==31485== by 0x4DE31C: ngx_http_lua_content_by_chunk (ngx_http_lua_contentby.c:54)
==31485== by 0x4DE54D: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:310)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_create_new_globals_table
fun:ngx_http_lua_new_thread
fun:ngx_http_lua_content_by_chunk
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,084 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4D8B81: ngx_http_lua_new_thread (ngx_http_lua_util.c:328)
==31485== by 0x4DE31C: ngx_http_lua_content_by_chunk (ngx_http_lua_contentby.c:54)
==31485== by 0x4DE54D: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:310)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_new_thread
fun:ngx_http_lua_content_by_chunk
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,085 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F6C44: ngx_http_lua_ngx_timer_helper (ngx_http_lua_timer.c:223)
==31485== by 0x4F7115: ngx_http_lua_ngx_timer_at (ngx_http_lua_timer.c:114)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4DE473: ngx_http_lua_content_by_chunk (ngx_http_lua_contentby.c:120)
==31485== by 0x4DE54D: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:310)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_ngx_timer_helper
fun:ngx_http_lua_ngx_timer_at
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_content_by_chunk
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,086 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F6C56: ngx_http_lua_ngx_timer_helper (ngx_http_lua_timer.c:227)
==31485== by 0x4F7115: ngx_http_lua_ngx_timer_at (ngx_http_lua_timer.c:114)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4DE473: ngx_http_lua_content_by_chunk (ngx_http_lua_contentby.c:120)
==31485== by 0x4DE54D: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:310)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_ngx_timer_helper
fun:ngx_http_lua_ngx_timer_at
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_content_by_chunk
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,087 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x5273AB8: fs_init (lj_parse.c:1617)
==31485== by 0x527943E: lj_parse (lj_parse.c:2708)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:fs_init
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,088 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x5277BF8: expr_table (lj_parse.c:1740)
==31485== by 0x5277269: expr_simple (lj_parse.c:2004)
==31485== by 0x5277269: expr_unop (lj_parse.c:2077)
==31485== by 0x5277269: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5277F52: parse_args (lj_parse.c:1902)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:expr_table
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 2 blocks are definitely lost in loss record 1,089 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262FC3: lj_tab_dup (lj_tab.c:187)
==31485== by 0x525BDAF: lj_BC_TDUP (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_dup
fun:lj_BC_TDUP
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 64 bytes in 4 blocks are definitely lost in loss record 1,090 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x52AB1FC: lj_cdata_new (lj_cdata.h:45)
==31485== by 0x52AB1FC: lj_cdata_newx (lj_cdata.c:56)
==31485== by 0x52C3E68: lj_cf_ffi_new (lib_ffi.c:508)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_cdata_new
fun:lj_cdata_newx
fun:lj_cf_ffi_new
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 66 bytes in 2 blocks are definitely lost in loss record 1,092 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7DE8: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:134)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 66 bytes in 2 blocks are definitely lost in loss record 1,093 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7E83: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:149)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 66 bytes in 2 blocks are definitely lost in loss record 1,094 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7FD8: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:182)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 66 bytes in 2 blocks are definitely lost in loss record 1,095 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277F41: parse_args (lj_parse.c:1898)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 68 bytes in 2 blocks are definitely lost in loss record 1,097 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5268009: cpluaopen (lj_state.c:154)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52682BF: lua_newstate (lj_state.c:222)
==31485== by 0x52B7B71: luaL_newstate (lib_aux.c:334)
==31485== by 0x4DCDA4: ngx_http_lua_new_state (ngx_http_lua_util.c:204)
==31485== by 0x4DCDA4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:cpluaopen
fun:lj_vm_cpcall
fun:lua_newstate
fun:luaL_newstate
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 68 bytes in 2 blocks are definitely lost in loss record 1,098 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7E07: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:137)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 68 bytes in 2 blocks are definitely lost in loss record 1,099 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277F41: parse_args (lj_parse.c:1898)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5278EE6: parse_if (lj_parse.c:2611)
==31485== by 0x5278EE6: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278EE6: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 70 bytes in 2 blocks are definitely lost in loss record 1,101 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F2EA: lua_pushlstring (lj_api.c:640)
==31485== by 0x52C21F9: luaopen_jit (lib_jit.c:768)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_pushlstring
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 70 bytes in 2 blocks are definitely lost in loss record 1,102 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F2EA: lua_pushlstring (lj_api.c:640)
==31485== by 0x4DD049: ngx_http_lua_init_registry (ngx_http_lua_util.c:666)
==31485== by 0x4DD049: ngx_http_lua_new_state (ngx_http_lua_util.c:298)
==31485== by 0x4DD049: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_pushlstring
fun:ngx_http_lua_init_registry
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 72 bytes in 2 blocks are definitely lost in loss record 1,110 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7EA2: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:152)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 72 bytes in 2 blocks are definitely lost in loss record 1,111 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B2B9F: lj_buf_str (lj_buf.h:100)
==31485== by 0x52B2B9F: cp_ident (lj_cparse.c:167)
==31485== by 0x52B2B9F: cp_next_ (lj_cparse.c:289)
==31485== by 0x52B2B9F: cp_next (lj_cparse.c:332)
==31485== by 0x52B46A7: cp_struct_name (lj_cparse.c:1181)
==31485== by 0x52B49CD: cp_decl_struct (lj_cparse.c:1319)
==31485== by 0x52B5252: cp_decl_spec (lj_cparse.c:1491)
==31485== by 0x52B5ADB: cp_decl_multi (lj_cparse.c:1792)
==31485== by 0x52B60BC: cpcparser (lj_cparse.c:1868)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52B6158: lj_cparse (lj_cparse.c:1881)
==31485== by 0x52C24B3: lj_cf_ffi_cdef (lib_ffi.c:487)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_buf_str
fun:cp_ident
fun:cp_next_
fun:cp_next
fun:cp_struct_name
fun:cp_decl_struct
fun:cp_decl_spec
fun:cp_decl_multi
fun:cpcparser
fun:lj_vm_cpcall
fun:lj_cparse
fun:lj_cf_ffi_cdef
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 72 bytes in 2 blocks are definitely lost in loss record 1,112 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B2B9F: lj_buf_str (lj_buf.h:100)
==31485== by 0x52B2B9F: cp_ident (lj_cparse.c:167)
==31485== by 0x52B2B9F: cp_next_ (lj_cparse.c:289)
==31485== by 0x52B2B9F: cp_next (lj_cparse.c:332)
==31485== by 0x52B471E: cp_struct_name (lj_cparse.c:1200)
==31485== by 0x52B49CD: cp_decl_struct (lj_cparse.c:1319)
==31485== by 0x52B5252: cp_decl_spec (lj_cparse.c:1491)
==31485== by 0x52B5ADB: cp_decl_multi (lj_cparse.c:1792)
==31485== by 0x52B60BC: cpcparser (lj_cparse.c:1868)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52B6158: lj_cparse (lj_cparse.c:1881)
==31485== by 0x52C24B3: lj_cf_ffi_cdef (lib_ffi.c:487)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_buf_str
fun:cp_ident
fun:cp_next_
fun:cp_next
fun:cp_struct_name
fun:cp_decl_struct
fun:cp_decl_spec
fun:cp_decl_multi
fun:cpcparser
fun:lj_vm_cpcall
fun:lj_cparse
fun:lj_cf_ffi_cdef
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 72 bytes in 4 blocks are definitely lost in loss record 1,113 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x5277627: expr_list (lj_parse.c:1877)
==31485== by 0x5277F52: parse_args (lj_parse.c:1902)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B52B: luaL_loadbufferx (lj_load.c:143)
==31485== by 0x4CBE7F: ngx_http_lua_create_headers_metatable (ngx_http_lua_headers.c:1070)
==31485== by 0x4DD280: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:738)
==31485== by 0x4DD280: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD280: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD280: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:expr_list
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadbufferx
fun:ngx_http_lua_create_headers_metatable
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 72 bytes in 6 blocks are definitely lost in loss record 1,114 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x52C2835: lj_cdata_new (lj_cdata.h:45)
==31485== by 0x52C2835: lj_cf_ffi_typeof (lib_ffi.c:552)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_cdata_new
fun:lj_cf_ffi_typeof
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 74 bytes in 2 blocks are definitely lost in loss record 1,115 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7D0F: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:111)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 74 bytes in 2 blocks are definitely lost in loss record 1,116 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7EC1: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:155)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 74 bytes in 2 blocks are definitely lost in loss record 1,117 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D8016: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:188)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 74 bytes in 2 blocks are definitely lost in loss record 1,118 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5277F52: parse_args (lj_parse.c:1902)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 74 bytes in 2 blocks are definitely lost in loss record 1,119 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277F41: parse_args (lj_parse.c:1898)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 76 bytes in 2 blocks are definitely lost in loss record 1,122 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7D2E: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:114)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 76 bytes in 2 blocks are definitely lost in loss record 1,123 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7F1E: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:164)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 76 bytes in 2 blocks are definitely lost in loss record 1,124 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277F41: parse_args (lj_parse.c:1898)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 78 bytes in 2 blocks are definitely lost in loss record 1,125 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7D4D: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:117)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 78 bytes in 2 blocks are definitely lost in loss record 1,126 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7D6C: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:120)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 78 bytes in 2 blocks are definitely lost in loss record 1,127 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7F3D: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:167)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 80 bytes in 2 blocks are definitely lost in loss record 1,128 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5264946: lj_udata_new (lj_udata.c:15)
==31485== by 0x526FBBC: lua_newuserdata (lj_api.c:749)
==31485== by 0x52BCE2A: io_std_new (lib_io.c:517)
==31485== by 0x52BDB52: luaopen_io (lib_io.c:534)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_udata_new
fun:lua_newuserdata
fun:io_std_new
fun:luaopen_io
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 80 bytes in 2 blocks are definitely lost in loss record 1,129 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5264946: lj_udata_new (lj_udata.c:15)
==31485== by 0x526FBBC: lua_newuserdata (lj_api.c:749)
==31485== by 0x52BCE2A: io_std_new (lib_io.c:517)
==31485== by 0x52BDB74: luaopen_io (lib_io.c:535)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_udata_new
fun:lua_newuserdata
fun:io_std_new
fun:luaopen_io
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 80 bytes in 2 blocks are definitely lost in loss record 1,130 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5264946: lj_udata_new (lj_udata.c:15)
==31485== by 0x526FBBC: lua_newuserdata (lj_api.c:749)
==31485== by 0x52BCE2A: io_std_new (lib_io.c:517)
==31485== by 0x52BDB93: luaopen_io (lib_io.c:536)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_udata_new
fun:lua_newuserdata
fun:io_std_new
fun:luaopen_io
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 80 bytes in 2 blocks are definitely lost in loss record 1,131 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7DC9: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:131)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 80 bytes in 2 blocks are definitely lost in loss record 1,132 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526B627: lj_buf_str (lj_buf.h:100)
==31485== by 0x526B627: lj_strfmt_pushvf (lj_strfmt.c:456)
==31485== by 0x526F52B: lua_pushfstring (lj_api.c:671)
==31485== by 0x52BE96C: mksymname (lib_package.c:211)
==31485== by 0x52BEFB1: lj_cf_package_loader_preload (lib_package.c:391)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_buf_str
fun:lj_strfmt_pushvf
fun:lua_pushfstring
fun:mksymname
fun:lj_cf_package_loader_preload
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 80 bytes in 4 blocks are definitely lost in loss record 1,133 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x526437B: func_newL (lj_func.c:122)
==31485== by 0x52645B8: lj_func_newL_empty (lj_func.c:138)
==31485== by 0x52B67EB: lib_read_lfunc (lj_lib.c:65)
==31485== by 0x52B67EB: lj_lib_register (lj_lib.c:116)
==31485== by 0x52B9C41: luaopen_math (lib_math.c:223)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:func_newL
fun:lj_func_newL_empty
fun:lib_read_lfunc
fun:lj_lib_register
fun:luaopen_math
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 80 bytes in 4 blocks are definitely lost in loss record 1,134 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B6551: lj_lib_register (lj_lib.c:143)
==31485== by 0x52B9C41: luaopen_math (lib_math.c:223)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_math
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 82 bytes in 2 blocks are definitely lost in loss record 1,137 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7C74: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:96)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 82 bytes in 2 blocks are definitely lost in loss record 1,138 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7FF7: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:185)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 82 bytes in 2 blocks are definitely lost in loss record 1,139 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x527761A: expr (lj_parse.c:2109)
==31485== by 0x527761A: expr_list (lj_parse.c:1879)
==31485== by 0x5277F52: parse_args (lj_parse.c:1902)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x5278504: parse_call_assign (lj_parse.c:2228)
==31485== by 0x5278504: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278504: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_args
fun:expr_primary
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 82 bytes in 4 blocks are definitely lost in loss record 1,140 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B64D2: lj_lib_register (lj_lib.c:110)
==31485== by 0x52C4C43: luaopen_ffi (lib_ffi.c:857)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 84 bytes in 2 blocks are definitely lost in loss record 1,141 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D8054: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:194)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 86 bytes in 2 blocks are definitely lost in loss record 1,144 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7F9A: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:176)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 86 bytes in 2 blocks are definitely lost in loss record 1,145 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x5278504: parse_call_assign (lj_parse.c:2228)
==31485== by 0x5278504: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278504: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 88 bytes in 2 blocks are definitely lost in loss record 1,147 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4D7FB9: ngx_http_lua_inject_http_consts (ngx_http_lua_consts.c:179)
==31485== by 0x4DD20F: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:720)
==31485== by 0x4DD20F: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD20F: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD20F: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_inject_http_consts
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 88 bytes in 2 blocks are definitely lost in loss record 1,148 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x52789C4: parse_stmt (lj_parse.c:2634)
==31485== by 0x52789C4: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 88 bytes in 2 blocks are definitely lost in loss record 1,149 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F2EA: lua_pushlstring (lj_api.c:640)
==31485== by 0x52BEA15: pushnexttemplate (lib_package.c:285)
==31485== by 0x52BEA15: searchpath (lib_package.c:297)
==31485== by 0x52BF026: lj_cf_package_loader_lua (lib_package.c:347)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_pushlstring
fun:pushnexttemplate
fun:searchpath
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 88 bytes in 2 blocks are definitely lost in loss record 1,150 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 90 bytes in 2 blocks are definitely lost in loss record 1,152 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277F41: parse_args (lj_parse.c:1898)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 90 bytes in 2 blocks are definitely lost in loss record 1,153 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B2B9F: lj_buf_str (lj_buf.h:100)
==31485== by 0x52B2B9F: cp_ident (lj_cparse.c:167)
==31485== by 0x52B2B9F: cp_next_ (lj_cparse.c:289)
==31485== by 0x52B2B9F: cp_next (lj_cparse.c:332)
==31485== by 0x52B46A7: cp_struct_name (lj_cparse.c:1181)
==31485== by 0x52B49CD: cp_decl_struct (lj_cparse.c:1319)
==31485== by 0x52B5252: cp_decl_spec (lj_cparse.c:1491)
==31485== by 0x52B5ADB: cp_decl_multi (lj_cparse.c:1792)
==31485== by 0x52B60BC: cpcparser (lj_cparse.c:1868)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52B6158: lj_cparse (lj_cparse.c:1881)
==31485== by 0x52C24B3: lj_cf_ffi_cdef (lib_ffi.c:487)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_buf_str
fun:cp_ident
fun:cp_next_
fun:cp_next
fun:cp_struct_name
fun:cp_decl_struct
fun:cp_decl_spec
fun:cp_decl_multi
fun:cpcparser
fun:lj_vm_cpcall
fun:lj_cparse
fun:lj_cf_ffi_cdef
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 90 bytes in 2 blocks are definitely lost in loss record 1,154 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B2B9F: lj_buf_str (lj_buf.h:100)
==31485== by 0x52B2B9F: cp_ident (lj_cparse.c:167)
==31485== by 0x52B2B9F: cp_next_ (lj_cparse.c:289)
==31485== by 0x52B2B9F: cp_next (lj_cparse.c:332)
==31485== by 0x52B2F58: cp_opt (lj_cparse.c:393)
==31485== by 0x52B31EC: cp_declarator (lj_cparse.c:1643)
==31485== by 0x52B5BDC: cp_decl_multi (lj_cparse.c:1801)
==31485== by 0x52B60BC: cpcparser (lj_cparse.c:1868)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52B6158: lj_cparse (lj_cparse.c:1881)
==31485== by 0x52C24B3: lj_cf_ffi_cdef (lib_ffi.c:487)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_buf_str
fun:cp_ident
fun:cp_next_
fun:cp_next
fun:cp_opt
fun:cp_declarator
fun:cp_decl_multi
fun:cpcparser
fun:lj_vm_cpcall
fun:lj_cparse
fun:lj_cf_ffi_cdef
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 94 bytes in 2 blocks are definitely lost in loss record 1,160 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277F41: parse_args (lj_parse.c:1898)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5277F52: parse_args (lj_parse.c:1902)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5278EE6: parse_if (lj_parse.c:2611)
==31485== by 0x5278EE6: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278EE6: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x527906A: parse_for_num (lj_parse.c:2482)
==31485== by 0x527906A: parse_for (lj_parse.c:2575)
==31485== by 0x527906A: parse_stmt (lj_parse.c:2638)
==31485== by 0x527906A: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_for_num
fun:parse_for
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 94 bytes in 4 blocks are definitely lost in loss record 1,161 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x52B7671: luaL_setfuncs (lib_aux.c:156)
==31485== by 0x52BF503: luaopen_package (lib_package.c:597)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:luaL_setfuncs
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 94 bytes in 4 blocks are definitely lost in loss record 1,162 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x52787BE: parse_local (lj_parse.c:2259)
==31485== by 0x52787BE: parse_stmt (lj_parse.c:2648)
==31485== by 0x52787BE: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5278EE6: parse_if (lj_parse.c:2611)
==31485== by 0x5278EE6: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278EE6: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,167 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x52B9607: newproxy_weaktable (lib_base.c:651)
==31485== by 0x52B9607: luaopen_base (lib_base.c:665)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:newproxy_weaktable
fun:luaopen_base
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,168 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F90E: luaL_newmetatable (lj_api.c:715)
==31485== by 0x52BF34B: luaopen_package (lib_package.c:570)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:luaL_newmetatable
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,169 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x52BBC7E: luaopen_string (lib_string.c:740)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:luaopen_string
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,170 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52C2265: luaopen_jit (lib_jit.c:778)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,171 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4C5544: ngx_http_lua_inject_ndk_api (ngx_http_lua_ndk.c:166)
==31485== by 0x4DD139: ngx_http_lua_init_globals (ngx_http_lua_util.c:702)
==31485== by 0x4DD139: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD139: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_ndk_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,172 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4C5568: ngx_http_lua_inject_ndk_api (ngx_http_lua_ndk.c:170)
==31485== by 0x4DD139: ngx_http_lua_init_globals (ngx_http_lua_util.c:702)
==31485== by 0x4DD139: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD139: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_ndk_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,173 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4DD1A5: ngx_http_lua_inject_arg_api (ngx_http_lua_util.c:2921)
==31485== by 0x4DD1A5: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:718)
==31485== by 0x4DD1A5: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD1A5: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD1A5: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_arg_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,174 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4C5252: ngx_http_lua_inject_subrequest_api (ngx_http_lua_subrequest.c:1424)
==31485== by 0x4DD24A: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:728)
==31485== by 0x4DD24A: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD24A: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD24A: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_subrequest_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,175 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4CBCA7: ngx_http_lua_inject_resp_header_api (ngx_http_lua_headers.c:1017)
==31485== by 0x4DD275: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:737)
==31485== by 0x4DD275: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD275: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD275: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_resp_header_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,176 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4CBD20: ngx_http_lua_inject_resp_header_api (ngx_http_lua_headers.c:1026)
==31485== by 0x4DD275: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:737)
==31485== by 0x4DD275: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD275: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD275: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_resp_header_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,177 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4CBE6A: ngx_http_lua_create_headers_metatable (ngx_http_lua_headers.c:1068)
==31485== by 0x4DD280: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:738)
==31485== by 0x4DD280: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD280: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD280: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_create_headers_metatable
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,178 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4C7977: ngx_http_lua_inject_variable_api (ngx_http_lua_variable.c:28)
==31485== by 0x4DD288: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:739)
==31485== by 0x4DD288: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD288: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD288: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_variable_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,179 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED5E6: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:324)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,180 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED636: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:332)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,181 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED686: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:340)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,182 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED6D6: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:348)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,183 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED726: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:358)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,184 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F476E: ngx_http_lua_inject_socket_udp_api (ngx_http_lua_socket_udp.c:109)
==31485== by 0x4DD2A9: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:742)
==31485== by 0x4DD2A9: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2A9: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2A9: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_udp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,185 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4C722D: ngx_http_lua_inject_misc_api (ngx_http_lua_misc.c:28)
==31485== by 0x4DD2D4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:748)
==31485== by 0x4DD2D4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2D4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2D4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_misc_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,186 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x52C4AE3: luaopen_ffi (lib_ffi.c:851)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,187 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x52C4B32: ffi_finalizer (lib_ffi.c:828)
==31485== by 0x52C4B32: luaopen_ffi (lib_ffi.c:852)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:ffi_finalizer
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,188 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5277F52: parse_args (lj_parse.c:1902)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,189 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262FC3: lj_tab_dup (lj_tab.c:187)
==31485== by 0x525BDAF: lj_BC_TDUP (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_dup
fun:lj_BC_TDUP
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,190 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4D8AC4: ngx_http_lua_create_new_globals_table (ngx_http_lua_util.c:184)
==31485== by 0x4D8B6F: ngx_http_lua_new_thread (ngx_http_lua_util.c:326)
==31485== by 0x4DE31C: ngx_http_lua_content_by_chunk (ngx_http_lua_contentby.c:54)
==31485== by 0x4DE54D: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:310)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_create_new_globals_table
fun:ngx_http_lua_new_thread
fun:ngx_http_lua_content_by_chunk
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,191 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4D8B81: ngx_http_lua_new_thread (ngx_http_lua_util.c:328)
==31485== by 0x4DE31C: ngx_http_lua_content_by_chunk (ngx_http_lua_contentby.c:54)
==31485== by 0x4DE54D: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:310)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_new_thread
fun:ngx_http_lua_content_by_chunk
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,192 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F6C56: ngx_http_lua_ngx_timer_helper (ngx_http_lua_timer.c:227)
==31485== by 0x4F7115: ngx_http_lua_ngx_timer_at (ngx_http_lua_timer.c:114)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4DE473: ngx_http_lua_content_by_chunk (ngx_http_lua_contentby.c:120)
==31485== by 0x4DE54D: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:310)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_ngx_timer_helper
fun:ngx_http_lua_ngx_timer_at
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_content_by_chunk
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,193 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x5264FE7: lj_meta_tset (lj_meta.c:182)
==31485== by 0x5270BC8: lua_setfield (lj_api.c:972)
==31485== by 0x4F67F8: ngx_http_lua_set_req (ngx_http_lua_util.h:357)
==31485== by 0x4F67F8: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:657)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_meta_tset
fun:lua_setfield
fun:ngx_http_lua_set_req
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,194 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x5277BF8: expr_table (lj_parse.c:1740)
==31485== by 0x5277269: expr_simple (lj_parse.c:2004)
==31485== by 0x5277269: expr_unop (lj_parse.c:2077)
==31485== by 0x5277269: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5277F52: parse_args (lj_parse.c:1902)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:expr_table
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,195 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262FC3: lj_tab_dup (lj_tab.c:187)
==31485== by 0x525BDAF: lj_BC_TDUP (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_dup
fun:lj_BC_TDUP
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 2 blocks are definitely lost in loss record 1,196 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262FC3: lj_tab_dup (lj_tab.c:187)
==31485== by 0x525BDAF: lj_BC_TDUP (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_dup
fun:lj_BC_TDUP
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 96 bytes in 8 blocks are definitely lost in loss record 1,197 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x52C2835: lj_cdata_new (lj_cdata.h:45)
==31485== by 0x52C2835: lj_cf_ffi_typeof (lib_ffi.c:552)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_cdata_new
fun:lj_cf_ffi_typeof
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 98 bytes in 2 blocks are definitely lost in loss record 1,199 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x52785F2: parse_while (lj_parse.c:2418)
==31485== by 0x52785F2: parse_stmt (lj_parse.c:2630)
==31485== by 0x52785F2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_while
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 100 bytes in 2 blocks are definitely lost in loss record 1,200 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x5278504: parse_call_assign (lj_parse.c:2228)
==31485== by 0x5278504: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278504: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 100 bytes in 2 blocks are definitely lost in loss record 1,201 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x5278504: parse_call_assign (lj_parse.c:2228)
==31485== by 0x5278504: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278504: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x52785F2: parse_while (lj_parse.c:2418)
==31485== by 0x52785F2: parse_stmt (lj_parse.c:2630)
==31485== by 0x52785F2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_while
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 104 bytes in 2 blocks are definitely lost in loss record 1,202 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277F41: parse_args (lj_parse.c:1898)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 104 bytes in 4 blocks are definitely lost in loss record 1,203 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B6551: lj_lib_register (lj_lib.c:143)
==31485== by 0x52C2216: luaopen_jit (lib_jit.c:769)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 106 bytes in 2 blocks are definitely lost in loss record 1,204 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x52789C4: parse_stmt (lj_parse.c:2634)
==31485== by 0x52789C4: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 108 bytes in 2 blocks are definitely lost in loss record 1,205 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 108 bytes in 2 blocks are definitely lost in loss record 1,206 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526FF5B: lua_getfield (lj_api.c:800)
==31485== by 0x4DD92E: ngx_http_lua_cache_load_code (ngx_http_lua_cache.c:52)
==31485== by 0x4DDAE3: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:148)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_getfield
fun:ngx_http_lua_cache_load_code
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 110 bytes in 2 blocks are definitely lost in loss record 1,207 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x527761A: expr (lj_parse.c:2109)
==31485== by 0x527761A: expr_list (lj_parse.c:1879)
==31485== by 0x5277F52: parse_args (lj_parse.c:1902)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x5278504: parse_call_assign (lj_parse.c:2228)
==31485== by 0x5278504: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278504: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_args
fun:expr_primary
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 112 bytes in 2 blocks are definitely lost in loss record 1,209 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F2EA: lua_pushlstring (lj_api.c:640)
==31485== by 0x52B719A: emptybuffer (lib_aux.c:188)
==31485== by 0x52B7828: luaL_pushresult (lib_aux.c:232)
==31485== by 0x52B799E: luaL_gsub (lib_aux.c:174)
==31485== by 0x52BEA39: searchpath (lib_package.c:298)
==31485== by 0x52BF026: lj_cf_package_loader_lua (lib_package.c:347)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_pushlstring
fun:emptybuffer
fun:luaL_pushresult
fun:luaL_gsub
fun:searchpath
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 120 bytes in 2 blocks are definitely lost in loss record 1,213 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526B627: lj_buf_str (lj_buf.h:100)
==31485== by 0x526B627: lj_strfmt_pushvf (lj_strfmt.c:456)
==31485== by 0x526F52B: lua_pushfstring (lj_api.c:671)
==31485== by 0x52BEFEB: lj_cf_package_loader_preload (lib_package.c:394)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_buf_str
fun:lj_strfmt_pushvf
fun:lua_pushfstring
fun:lj_cf_package_loader_preload
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 122 bytes in 2 blocks are definitely lost in loss record 1,215 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x52789C4: parse_stmt (lj_parse.c:2634)
==31485== by 0x52789C4: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 124 bytes in 6 blocks are definitely lost in loss record 1,218 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B64D2: lj_lib_register (lj_lib.c:110)
==31485== by 0x52C2216: luaopen_jit (lib_jit.c:769)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 128 bytes in 2 blocks are definitely lost in loss record 1,223 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5264946: lj_udata_new (lj_udata.c:15)
==31485== by 0x526FBBC: lua_newuserdata (lj_api.c:749)
==31485== by 0x52B9C1D: luaopen_math (lib_math.c:221)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_udata_new
fun:lua_newuserdata
fun:luaopen_math
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 128 bytes in 4 blocks are definitely lost in loss record 1,224 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x52B765F: luaL_setfuncs (lib_aux.c:155)
==31485== by 0x52BF503: luaopen_package (lib_package.c:597)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:luaL_setfuncs
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 128 bytes in 4 blocks are definitely lost in loss record 1,225 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x52B646D: lj_lib_register (lj_lib.c:92)
==31485== by 0x52C4C43: luaopen_ffi (lib_ffi.c:857)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lj_lib_register
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 128 bytes in 4 blocks are definitely lost in loss record 1,226 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x52B69D9: lj_lib_pushcc (lj_lib.c:155)
==31485== by 0x52B6B04: lj_lib_postreg (lj_lib.c:174)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:lj_lib_pushcc
fun:lj_lib_postreg
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 128 bytes in 4 blocks are definitely lost in loss record 1,227 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x5277BF8: expr_table (lj_parse.c:1740)
==31485== by 0x5277269: expr_simple (lj_parse.c:2004)
==31485== by 0x5277269: expr_unop (lj_parse.c:2077)
==31485== by 0x5277269: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:expr_table
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 128 bytes in 4 blocks are definitely lost in loss record 1,228 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262FC3: lj_tab_dup (lj_tab.c:187)
==31485== by 0x525BDAF: lj_BC_TDUP (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_dup
fun:lj_BC_TDUP
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 128 bytes in 8 blocks are definitely lost in loss record 1,229 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x52B168E: lj_cdata_new (lj_cdata.h:45)
==31485== by 0x52B168E: lj_clib_index (lj_clib.c:372)
==31485== by 0x52C30D8: lj_cf_ffi_clib___index (lib_ffi.c:375)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_cdata_new
fun:lj_clib_index
fun:lj_cf_ffi_clib___index
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 132 bytes in 4 blocks are definitely lost in loss record 1,231 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 136 bytes in 4 blocks are definitely lost in loss record 1,232 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B2B9F: lj_buf_str (lj_buf.h:100)
==31485== by 0x52B2B9F: cp_ident (lj_cparse.c:167)
==31485== by 0x52B2B9F: cp_next_ (lj_cparse.c:289)
==31485== by 0x52B2B9F: cp_next (lj_cparse.c:332)
==31485== by 0x52B46A7: cp_struct_name (lj_cparse.c:1181)
==31485== by 0x52B49CD: cp_decl_struct (lj_cparse.c:1319)
==31485== by 0x52B5252: cp_decl_spec (lj_cparse.c:1491)
==31485== by 0x52B5ADB: cp_decl_multi (lj_cparse.c:1792)
==31485== by 0x52B60BC: cpcparser (lj_cparse.c:1868)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52B6158: lj_cparse (lj_cparse.c:1881)
==31485== by 0x52C24B3: lj_cf_ffi_cdef (lib_ffi.c:487)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_buf_str
fun:cp_ident
fun:cp_next_
fun:cp_next
fun:cp_struct_name
fun:cp_decl_struct
fun:cp_decl_spec
fun:cp_decl_multi
fun:cpcparser
fun:lj_vm_cpcall
fun:lj_cparse
fun:lj_cf_ffi_cdef
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 136 bytes in 6 blocks are definitely lost in loss record 1,233 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B2B9F: lj_buf_str (lj_buf.h:100)
==31485== by 0x52B2B9F: cp_ident (lj_cparse.c:167)
==31485== by 0x52B2B9F: cp_next_ (lj_cparse.c:289)
==31485== by 0x52B2B9F: cp_next (lj_cparse.c:332)
==31485== by 0x52B2F58: cp_opt (lj_cparse.c:393)
==31485== by 0x52B31EC: cp_declarator (lj_cparse.c:1643)
==31485== by 0x52B4AF8: cp_decl_struct (lj_cparse.c:1336)
==31485== by 0x52B5252: cp_decl_spec (lj_cparse.c:1491)
==31485== by 0x52B5ADB: cp_decl_multi (lj_cparse.c:1792)
==31485== by 0x52B60BC: cpcparser (lj_cparse.c:1868)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52B6158: lj_cparse (lj_cparse.c:1881)
==31485== by 0x52C24B3: lj_cf_ffi_cdef (lib_ffi.c:487)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_buf_str
fun:cp_ident
fun:cp_next_
fun:cp_next
fun:cp_opt
fun:cp_declarator
fun:cp_decl_struct
fun:cp_decl_spec
fun:cp_decl_multi
fun:cpcparser
fun:lj_vm_cpcall
fun:lj_cparse
fun:lj_cf_ffi_cdef
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 140 bytes in 4 blocks are definitely lost in loss record 1,234 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x5277627: expr_list (lj_parse.c:1877)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 142 bytes in 6 blocks are definitely lost in loss record 1,235 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B2B9F: lj_buf_str (lj_buf.h:100)
==31485== by 0x52B2B9F: cp_ident (lj_cparse.c:167)
==31485== by 0x52B2B9F: cp_next_ (lj_cparse.c:289)
==31485== by 0x52B2B9F: cp_next (lj_cparse.c:332)
==31485== by 0x52B50CF: cp_decl_spec (lj_cparse.c:1480)
==31485== by 0x52B5651: cp_decl_func (lj_cparse.c:1594)
==31485== by 0x52B345A: cp_declarator (lj_cparse.c:1690)
==31485== by 0x52B5BDC: cp_decl_multi (lj_cparse.c:1801)
==31485== by 0x52B60BC: cpcparser (lj_cparse.c:1868)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52B6158: lj_cparse (lj_cparse.c:1881)
==31485== by 0x52C24B3: lj_cf_ffi_cdef (lib_ffi.c:487)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_buf_str
fun:cp_ident
fun:cp_next_
fun:cp_next
fun:cp_decl_spec
fun:cp_decl_func
fun:cp_declarator
fun:cp_decl_multi
fun:cpcparser
fun:lj_vm_cpcall
fun:lj_cparse
fun:lj_cf_ffi_cdef
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 144 bytes in 2 blocks are definitely lost in loss record 1,238 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262CF7: newtab (lj_tab.c:107)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52BF3AC: luaopen_package (lib_package.c:575)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 144 (80 direct, 64 indirect) bytes in 2 blocks are definitely lost in loss record 1,239 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5264946: lj_udata_new (lj_udata.c:15)
==31485== by 0x52B1434: clib_new (lj_clib.c:386)
==31485== by 0x52B1A78: lj_clib_default (lj_clib.c:414)
==31485== by 0x52C4CB7: luaopen_ffi (lib_ffi.c:861)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_udata_new
fun:clib_new
fun:lj_clib_default
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 144 bytes in 4 blocks are definitely lost in loss record 1,240 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x5278AAC: parse_func (lj_parse.c:2281)
==31485== by 0x5278AAC: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AAC: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 148 bytes in 6 blocks are definitely lost in loss record 1,241 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x52B7671: luaL_setfuncs (lib_aux.c:156)
==31485== by 0x52BF38B: luaopen_package (lib_package.c:573)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:luaL_setfuncs
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 148 bytes in 6 blocks are definitely lost in loss record 1,242 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5278EE6: parse_if (lj_parse.c:2611)
==31485== by 0x5278EE6: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278EE6: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 150 bytes in 6 blocks are definitely lost in loss record 1,243 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 152 bytes in 4 blocks are definitely lost in loss record 1,244 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277F41: parse_args (lj_parse.c:1898)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 152 bytes in 4 blocks are definitely lost in loss record 1,245 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277F41: parse_args (lj_parse.c:1898)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 160 bytes in 2 blocks are definitely lost in loss record 1,247 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5279B0B: lj_bcread_proto (lj_bcread.c:343)
==31485== by 0x52B67D6: lib_read_lfunc (lj_lib.c:63)
==31485== by 0x52B67D6: lj_lib_register (lj_lib.c:116)
==31485== by 0x52BBC6F: luaopen_string (lib_string.c:739)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_bcread_proto
fun:lib_read_lfunc
fun:lj_lib_register
fun:luaopen_string
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 160 bytes in 6 blocks are definitely lost in loss record 1,248 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B2B9F: lj_buf_str (lj_buf.h:100)
==31485== by 0x52B2B9F: cp_ident (lj_cparse.c:167)
==31485== by 0x52B2B9F: cp_next_ (lj_cparse.c:289)
==31485== by 0x52B2B9F: cp_next (lj_cparse.c:332)
==31485== by 0x52B513A: cp_decl_spec (lj_cparse.c:1499)
==31485== by 0x52B5651: cp_decl_func (lj_cparse.c:1594)
==31485== by 0x52B345A: cp_declarator (lj_cparse.c:1690)
==31485== by 0x52B5BDC: cp_decl_multi (lj_cparse.c:1801)
==31485== by 0x52B60BC: cpcparser (lj_cparse.c:1868)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52B6158: lj_cparse (lj_cparse.c:1881)
==31485== by 0x52C24B3: lj_cf_ffi_cdef (lib_ffi.c:487)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_buf_str
fun:cp_ident
fun:cp_next_
fun:cp_next
fun:cp_decl_spec
fun:cp_decl_func
fun:cp_declarator
fun:cp_decl_multi
fun:cpcparser
fun:lj_vm_cpcall
fun:lj_cparse
fun:lj_cf_ffi_cdef
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 162 bytes in 4 blocks are definitely lost in loss record 1,249 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x5278504: parse_call_assign (lj_parse.c:2228)
==31485== by 0x5278504: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278504: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 164 bytes in 4 blocks are definitely lost in loss record 1,250 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B2B9F: lj_buf_str (lj_buf.h:100)
==31485== by 0x52B2B9F: cp_ident (lj_cparse.c:167)
==31485== by 0x52B2B9F: cp_next_ (lj_cparse.c:289)
==31485== by 0x52B2B9F: cp_next (lj_cparse.c:332)
==31485== by 0x52B4D4C: cp_decl_struct (lj_cparse.c:1387)
==31485== by 0x52B5252: cp_decl_spec (lj_cparse.c:1491)
==31485== by 0x52B5ADB: cp_decl_multi (lj_cparse.c:1792)
==31485== by 0x52B60BC: cpcparser (lj_cparse.c:1868)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52B6158: lj_cparse (lj_cparse.c:1881)
==31485== by 0x52C24B3: lj_cf_ffi_cdef (lib_ffi.c:487)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_buf_str
fun:cp_ident
fun:cp_next_
fun:cp_next
fun:cp_decl_struct
fun:cp_decl_spec
fun:cp_decl_multi
fun:cpcparser
fun:lj_vm_cpcall
fun:lj_cparse
fun:lj_cf_ffi_cdef
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 168 bytes in 4 blocks are definitely lost in loss record 1,253 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 168 bytes in 4 blocks are definitely lost in loss record 1,254 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277F41: parse_args (lj_parse.c:1898)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 168 bytes in 8 blocks are definitely lost in loss record 1,255 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 170 bytes in 4 blocks are definitely lost in loss record 1,257 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 176 bytes in 2 blocks are definitely lost in loss record 1,262 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5264946: lj_udata_new (lj_udata.c:15)
==31485== by 0x526FBBC: lua_newuserdata (lj_api.c:749)
==31485== by 0x4C233B: log_wrapper (ngx_http_lua_log.c:190)
==31485== by 0x4C26C4: ngx_http_lua_ngx_log (ngx_http_lua_log.c:59)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4DE473: ngx_http_lua_content_by_chunk (ngx_http_lua_contentby.c:120)
==31485== by 0x4DE54D: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:310)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_udata_new
fun:lua_newuserdata
fun:log_wrapper
fun:ngx_http_lua_ngx_log
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_content_by_chunk
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 176 bytes in 8 blocks are definitely lost in loss record 1,263 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B64D2: lj_lib_register (lj_lib.c:110)
==31485== by 0x52BC6CD: luaopen_table (lib_table.c:318)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_table
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 176 bytes in 8 blocks are definitely lost in loss record 1,264 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5276489: parse_params (lj_parse.c:1813)
==31485== by 0x5276489: parse_body (lj_parse.c:1849)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_params
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 184 bytes in 4 blocks are definitely lost in loss record 1,265 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 186 bytes in 6 blocks are definitely lost in loss record 1,267 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5270B8C: lua_setfield (lj_api.c:971)
==31485== by 0x4DD410: ngx_http_lua_init_vm (ngx_http_lua_util.c:3787)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_setfield
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 192 bytes in 2 blocks are definitely lost in loss record 1,269 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED08E: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:203)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 192 bytes in 2 blocks are definitely lost in loss record 1,270 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F5A2A: ngx_http_lua_inject_uthread_api (ngx_http_lua_uthread.c:34)
==31485== by 0x4DD2B4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:743)
==31485== by 0x4DD2B4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2B4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2B4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_uthread_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 192 bytes in 2 blocks are definitely lost in loss record 1,271 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F712D: ngx_http_lua_inject_timer_api (ngx_http_lua_timer.c:55)
==31485== by 0x4DD2BC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:744)
==31485== by 0x4DD2BC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2BC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2BC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_timer_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 192 bytes in 2 blocks are definitely lost in loss record 1,272 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F73B4: ngx_http_lua_inject_worker_api (ngx_http_lua_worker.c:28)
==31485== by 0x4DD2CC: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:746)
==31485== by 0x4DD2CC: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2CC: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2CC: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_worker_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 192 bytes in 2 blocks are definitely lost in loss record 1,273 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B689E: lib_create_table (lj_lib.c:44)
==31485== by 0x52B689E: lj_lib_register (lj_lib.c:78)
==31485== by 0x52C4C2B: luaopen_ffi (lib_ffi.c:856)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 192 bytes in 2 blocks are definitely lost in loss record 1,274 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B689E: lib_create_table (lj_lib.c:44)
==31485== by 0x52B689E: lj_lib_register (lj_lib.c:78)
==31485== by 0x52C4C43: luaopen_ffi (lib_ffi.c:857)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 192 bytes in 2 blocks are definitely lost in loss record 1,275 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x5274894: const_gc (lj_parse.c:218)
==31485== by 0x52765DB: parse_body (lj_parse.c:1860)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:const_gc
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 192 bytes in 2 blocks are definitely lost in loss record 1,276 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x52638C1: lj_tab_setstr (lj_tab.c:534)
==31485== by 0x52B14E3: lj_clib_index (lj_clib.c:331)
==31485== by 0x52C30D8: lj_cf_ffi_clib___index (lib_ffi.c:375)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_tab_setstr
fun:lj_clib_index
fun:lj_cf_ffi_clib___index
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 192 bytes in 4 blocks are definitely lost in loss record 1,277 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262FC3: lj_tab_dup (lj_tab.c:187)
==31485== by 0x525BDAF: lj_BC_TDUP (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_dup
fun:lj_BC_TDUP
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 192 bytes in 4 blocks are definitely lost in loss record 1,278 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x5277BF8: expr_table (lj_parse.c:1740)
==31485== by 0x5277269: expr_simple (lj_parse.c:2004)
==31485== by 0x5277269: expr_unop (lj_parse.c:2077)
==31485== by 0x5277269: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:expr_table
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 192 bytes in 6 blocks are definitely lost in loss record 1,279 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x52B765F: luaL_setfuncs (lib_aux.c:155)
==31485== by 0x52BF38B: luaopen_package (lib_package.c:573)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:luaL_setfuncs
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 192 bytes in 6 blocks are definitely lost in loss record 1,280 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x4DD401: ngx_http_lua_init_vm (ngx_http_lua_util.c:3786)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 192 bytes in 6 blocks are definitely lost in loss record 1,281 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x52B646D: lj_lib_register (lj_lib.c:92)
==31485== by 0x52C4C2B: luaopen_ffi (lib_ffi.c:856)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lj_lib_register
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 192 bytes in 6 blocks are definitely lost in loss record 1,282 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262FC3: lj_tab_dup (lj_tab.c:187)
==31485== by 0x525BDAF: lj_BC_TDUP (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_dup
fun:lj_BC_TDUP
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 192 bytes in 6 blocks are definitely lost in loss record 1,283 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52BC2B5: lj_cf_table_new (lib_table.c:292)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:lj_cf_table_new
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 196 bytes in 4 blocks are definitely lost in loss record 1,284 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x5277627: expr_list (lj_parse.c:1877)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 200 bytes in 6 blocks are definitely lost in loss record 1,287 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x5277627: expr_list (lj_parse.c:1877)
==31485== by 0x5277F52: parse_args (lj_parse.c:1902)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x5277007: expr_unop (lj_parse.c:2081)
==31485== by 0x5277007: expr_binop (lj_parse.c:2090)
==31485== by 0x5277651: expr (lj_parse.c:2109)
==31485== by 0x5277651: expr_cond (lj_parse.c:2124)
==31485== by 0x527930D: parse_then (lj_parse.c:2589)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:expr_list
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_cond
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 200 bytes in 10 blocks are definitely lost in loss record 1,288 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x526437B: func_newL (lj_func.c:122)
==31485== by 0x52645B8: lj_func_newL_empty (lj_func.c:138)
==31485== by 0x52B67EB: lib_read_lfunc (lj_lib.c:65)
==31485== by 0x52B67EB: lj_lib_register (lj_lib.c:116)
==31485== by 0x52BC6CD: luaopen_table (lib_table.c:318)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:func_newL
fun:lj_func_newL_empty
fun:lib_read_lfunc
fun:lj_lib_register
fun:luaopen_table
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 202 bytes in 6 blocks are definitely lost in loss record 1,289 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x527878B: parse_local (lj_parse.c:2240)
==31485== by 0x527878B: parse_stmt (lj_parse.c:2648)
==31485== by 0x527878B: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 208 bytes in 2 blocks are definitely lost in loss record 1,290 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262CF7: newtab (lj_tab.c:107)
==31485== by 0x5262FC3: lj_tab_dup (lj_tab.c:187)
==31485== by 0x525BDAF: lj_BC_TDUP (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_dup
fun:lj_BC_TDUP
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 210 bytes in 8 blocks are definitely lost in loss record 1,291 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x52777E2: expr_table (lj_parse.c:1762)
==31485== by 0x5277269: expr_simple (lj_parse.c:2004)
==31485== by 0x5277269: expr_unop (lj_parse.c:2077)
==31485== by 0x5277269: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:expr_table
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 212 bytes in 8 blocks are definitely lost in loss record 1,292 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x5278504: parse_call_assign (lj_parse.c:2228)
==31485== by 0x5278504: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278504: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 224 bytes in 10 blocks are definitely lost in loss record 1,294 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B64D2: lj_lib_register (lj_lib.c:110)
==31485== by 0x52BDB36: luaopen_io (lib_io.c:533)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_io
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 228 bytes in 10 blocks are definitely lost in loss record 1,295 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B64D2: lj_lib_register (lj_lib.c:110)
==31485== by 0x52B96E5: luaopen_base (lib_base.c:667)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_base
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 228 bytes in 10 blocks are definitely lost in loss record 1,296 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B6789: lib_read_lfunc (lj_lib.c:52)
==31485== by 0x52B6789: lj_lib_register (lj_lib.c:116)
==31485== by 0x52BC6CD: luaopen_table (lib_table.c:318)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lib_read_lfunc
fun:lj_lib_register
fun:luaopen_table
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 232 bytes in 6 blocks are definitely lost in loss record 1,297 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x52AB0DD: lj_cdata_newv (lj_cdata.c:34)
==31485== by 0x52C3E68: lj_cf_ffi_new (lib_ffi.c:508)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_cdata_newv
fun:lj_cf_ffi_new
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 238 bytes in 2 blocks are definitely lost in loss record 1,299 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F3B5: lua_pushstring (lj_api.c:652)
==31485== by 0x52BF22A: setpath (lib_package.c:533)
==31485== by 0x52BF463: luaopen_package (lib_package.c:589)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_pushstring
fun:setpath
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 250 bytes in 12 blocks are definitely lost in loss record 1,302 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F3B5: lua_pushstring (lj_api.c:652)
==31485== by 0x52C4F29: luaL_openlibs (lib_init.c:44)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_pushstring
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 252 bytes in 2 blocks are definitely lost in loss record 1,303 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52765B0: parse_body (lj_parse.c:1855)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B52B: luaL_loadbufferx (lj_load.c:143)
==31485== by 0x4F05C8: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:320)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadbufferx
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 252 bytes in 14 blocks are definitely lost in loss record 1,304 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277F41: parse_args (lj_parse.c:1898)
==31485== by 0x52780BC: expr_primary (lj_parse.c:1965)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x5276BA3: expr_binop (lj_parse.c:2098)
==31485== by 0x5277651: expr (lj_parse.c:2109)
==31485== by 0x5277651: expr_cond (lj_parse.c:2124)
==31485== by 0x527930D: parse_then (lj_parse.c:2589)
==31485== by 0x5278B56: parse_if (lj_parse.c:2605)
==31485== by 0x5278B56: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B56: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x527906A: parse_for_num (lj_parse.c:2482)
==31485== by 0x527906A: parse_for (lj_parse.c:2575)
==31485== by 0x527906A: parse_stmt (lj_parse.c:2638)
==31485== by 0x527906A: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:parse_args
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr_binop
fun:expr
fun:expr_cond
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_for_num
fun:parse_for
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 256 bytes in 8 blocks are definitely lost in loss record 1,305 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x526F5A5: lua_pushcclosure (lj_api.c:681)
==31485== by 0x52B69D9: lj_lib_pushcc (lj_lib.c:155)
==31485== by 0x52BF3C2: luaopen_package (lib_package.c:577)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lua_pushcclosure
fun:lj_lib_pushcc
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 256 bytes in 8 blocks are definitely lost in loss record 1,306 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x52B646D: lj_lib_register (lj_lib.c:92)
==31485== by 0x52BC6CD: luaopen_table (lib_table.c:318)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lj_lib_register
fun:luaopen_table
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 256 bytes in 8 blocks are definitely lost in loss record 1,307 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52BC2B5: lj_cf_table_new (lib_table.c:292)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:lj_cf_table_new
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 256 bytes in 8 blocks are definitely lost in loss record 1,308 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x5273AB8: fs_init (lj_parse.c:1617)
==31485== by 0x5276458: parse_body (lj_parse.c:1846)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_new
fun:fs_init
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 260 bytes in 2 blocks are definitely lost in loss record 1,309 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52765B0: parse_body (lj_parse.c:1855)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B52B: luaL_loadbufferx (lj_load.c:143)
==31485== by 0x4F05C8: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:320)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadbufferx
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 260 bytes in 12 blocks are definitely lost in loss record 1,310 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B64D2: lj_lib_register (lj_lib.c:110)
==31485== by 0x52BDABD: luaopen_io (lib_io.c:530)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_io
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 278 (184 direct, 94 indirect) bytes in 2 blocks are definitely lost in loss record 1,312 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52794A7: lj_parse (lj_parse.c:2720)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 296 bytes in 10 blocks are definitely lost in loss record 1,314 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x5278AAC: parse_func (lj_parse.c:2281)
==31485== by 0x5278AAC: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AAC: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 308 bytes in 2 blocks are definitely lost in loss record 1,315 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52765B0: parse_body (lj_parse.c:1855)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x52789C4: parse_stmt (lj_parse.c:2634)
==31485== by 0x52789C4: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 312 bytes in 14 blocks are definitely lost in loss record 1,316 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5273A28: lex_opt (lj_parse.c:989)
==31485== by 0x52764E0: parse_params (lj_parse.c:1827)
==31485== by 0x52764E0: parse_body (lj_parse.c:1849)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:lex_opt
fun:parse_params
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 320 bytes in 10 blocks are definitely lost in loss record 1,317 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x52B646D: lj_lib_register (lj_lib.c:92)
==31485== by 0x52B96E5: luaopen_base (lib_base.c:667)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lj_lib_register
fun:luaopen_base
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 320 bytes in 10 blocks are definitely lost in loss record 1,318 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x52B646D: lj_lib_register (lj_lib.c:92)
==31485== by 0x52C2216: luaopen_jit (lib_jit.c:769)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lj_lib_register
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 326 bytes in 8 blocks are definitely lost in loss record 1,319 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 344 bytes in 10 blocks are definitely lost in loss record 1,321 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x526437B: func_newL (lj_func.c:122)
==31485== by 0x526468D: lj_func_newL_gc (lj_func.c:160)
==31485== by 0x525BCF5: lj_BC_FNEW (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4F062F: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:332)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:func_newL
fun:lj_func_newL_gc
fun:lj_BC_FNEW
fun:lua_pcall
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 352 bytes in 4 blocks are definitely lost in loss record 1,322 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5279B0B: lj_bcread_proto (lj_bcread.c:343)
==31485== by 0x52B67D6: lib_read_lfunc (lj_lib.c:63)
==31485== by 0x52B67D6: lj_lib_register (lj_lib.c:116)
==31485== by 0x52B9C41: luaopen_math (lib_math.c:223)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_bcread_proto
fun:lib_read_lfunc
fun:lj_lib_register
fun:luaopen_math
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 354 bytes in 2 blocks are definitely lost in loss record 1,323 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52765B0: parse_body (lj_parse.c:1855)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x527785B: expr (lj_parse.c:2109)
==31485== by 0x527785B: expr_table (lj_parse.c:1734)
==31485== by 0x5277269: expr_simple (lj_parse.c:2004)
==31485== by 0x5277269: expr_unop (lj_parse.c:2077)
==31485== by 0x5277269: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_table
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 354 bytes in 14 blocks are definitely lost in loss record 1,324 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 364 bytes in 16 blocks are definitely lost in loss record 1,326 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 376 bytes in 8 blocks are definitely lost in loss record 1,327 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 382 bytes in 8 blocks are definitely lost in loss record 1,328 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 384 bytes in 2 blocks are definitely lost in loss record 1,330 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x5264FE7: lj_meta_tset (lj_meta.c:182)
==31485== by 0x5270BC8: lua_setfield (lj_api.c:972)
==31485== by 0x52C4F8E: luaL_openlibs (lib_init.c:51)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_meta_tset
fun:lua_setfield
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 384 bytes in 2 blocks are definitely lost in loss record 1,331 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4DD087: ngx_http_lua_init_registry (ngx_http_lua_util.c:672)
==31485== by 0x4DD087: ngx_http_lua_new_state (ngx_http_lua_util.c:298)
==31485== by 0x4DD087: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_init_registry
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 384 bytes in 2 blocks are definitely lost in loss record 1,332 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4DD0DF: ngx_http_lua_init_registry (ngx_http_lua_util.c:685)
==31485== by 0x4DD0DF: ngx_http_lua_new_state (ngx_http_lua_util.c:298)
==31485== by 0x4DD0DF: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_init_registry
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 384 bytes in 2 blocks are definitely lost in loss record 1,333 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4D2852: ngx_http_lua_inject_regex_api (ngx_http_lua_regex.c:1986)
==31485== by 0x4DD262: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:733)
==31485== by 0x4DD262: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD262: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD262: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_regex_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 384 bytes in 2 blocks are definitely lost in loss record 1,334 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED235: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:231)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 384 bytes in 2 blocks are definitely lost in loss record 1,335 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED310: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:253)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 384 bytes in 2 blocks are definitely lost in loss record 1,336 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F466F: ngx_http_lua_inject_socket_udp_api (ngx_http_lua_socket_udp.c:85)
==31485== by 0x4DD2A9: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:742)
==31485== by 0x4DD2A9: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2A9: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2A9: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_udp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 384 bytes in 2 blocks are definitely lost in loss record 1,337 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F722B: ngx_http_lua_inject_config_api (ngx_http_lua_config.c:26)
==31485== by 0x4DD2C4: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:745)
==31485== by 0x4DD2C4: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD2C4: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD2C4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_config_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 384 bytes in 2 blocks are definitely lost in loss record 1,338 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x52638C1: lj_tab_setstr (lj_tab.c:534)
==31485== by 0x5277AD8: expr_table (lj_parse.c:1746)
==31485== by 0x5277269: expr_simple (lj_parse.c:2004)
==31485== by 0x5277269: expr_unop (lj_parse.c:2077)
==31485== by 0x5277269: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_tab_setstr
fun:expr_table
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 384 bytes in 2 blocks are definitely lost in loss record 1,339 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x525C0F0: lj_BC_TSETS (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_BC_TSETS
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 384 bytes in 2 blocks are definitely lost in loss record 1,340 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x525C0F0: lj_BC_TSETS (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_BC_TSETS
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 384 bytes in 2 blocks are definitely lost in loss record 1,341 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x525C0F0: lj_BC_TSETS (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_BC_TSETS
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 386 bytes in 16 blocks are definitely lost in loss record 1,342 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B2B9F: lj_buf_str (lj_buf.h:100)
==31485== by 0x52B2B9F: cp_ident (lj_cparse.c:167)
==31485== by 0x52B2B9F: cp_next_ (lj_cparse.c:289)
==31485== by 0x52B2B9F: cp_next (lj_cparse.c:332)
==31485== by 0x52B2F58: cp_opt (lj_cparse.c:393)
==31485== by 0x52B31EC: cp_declarator (lj_cparse.c:1643)
==31485== by 0x52B5666: cp_decl_func (lj_cparse.c:1596)
==31485== by 0x52B345A: cp_declarator (lj_cparse.c:1690)
==31485== by 0x52B5BDC: cp_decl_multi (lj_cparse.c:1801)
==31485== by 0x52B60BC: cpcparser (lj_cparse.c:1868)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52B6158: lj_cparse (lj_cparse.c:1881)
==31485== by 0x52C24B3: lj_cf_ffi_cdef (lib_ffi.c:487)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_buf_str
fun:cp_ident
fun:cp_next_
fun:cp_next
fun:cp_opt
fun:cp_declarator
fun:cp_decl_func
fun:cp_declarator
fun:cp_decl_multi
fun:cpcparser
fun:lj_vm_cpcall
fun:lj_cparse
fun:lj_cf_ffi_cdef
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 400 bytes in 2 blocks are definitely lost in loss record 1,343 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52794A7: lj_parse (lj_parse.c:2720)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B52B: luaL_loadbufferx (lj_load.c:143)
==31485== by 0x4CBE7F: ngx_http_lua_create_headers_metatable (ngx_http_lua_headers.c:1070)
==31485== by 0x4DD280: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:738)
==31485== by 0x4DD280: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD280: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD280: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadbufferx
fun:ngx_http_lua_create_headers_metatable
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 400 bytes in 8 blocks are definitely lost in loss record 1,344 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x526437B: func_newL (lj_func.c:122)
==31485== by 0x526468D: lj_func_newL_gc (lj_func.c:160)
==31485== by 0x525BCF5: lj_BC_FNEW (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:func_newL
fun:lj_func_newL_gc
fun:lj_BC_FNEW
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 402 bytes in 18 blocks are definitely lost in loss record 1,345 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5277B7F: expr_table (lj_parse.c:1722)
==31485== by 0x5277269: expr_simple (lj_parse.c:2004)
==31485== by 0x5277269: expr_unop (lj_parse.c:2077)
==31485== by 0x5277269: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x52789C4: parse_stmt (lj_parse.c:2634)
==31485== by 0x52789C4: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:expr_table
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 410 bytes in 16 blocks are definitely lost in loss record 1,347 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 418 bytes in 18 blocks are definitely lost in loss record 1,348 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B64D2: lj_lib_register (lj_lib.c:110)
==31485== by 0x52BE43D: luaopen_os (lib_os.c:289)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_os
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 432 bytes in 20 blocks are definitely lost in loss record 1,349 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B64D2: lj_lib_register (lj_lib.c:110)
==31485== by 0x52BA14D: luaopen_bit (lib_bit.c:177)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_bit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 444 bytes in 2 blocks are definitely lost in loss record 1,350 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52765B0: parse_body (lj_parse.c:1855)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 446 (374 direct, 72 indirect) bytes in 2 blocks are definitely lost in loss record 1,351 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52794A7: lj_parse (lj_parse.c:2720)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B52B: luaL_loadbufferx (lj_load.c:143)
==31485== by 0x4ED1C5: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:215)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadbufferx
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 452 bytes in 2 blocks are definitely lost in loss record 1,352 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52765B0: parse_body (lj_parse.c:1855)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 458 bytes in 20 blocks are definitely lost in loss record 1,355 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B6551: lj_lib_register (lj_lib.c:143)
==31485== by 0x52B96C8: luaopen_base (lib_base.c:666)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_base
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 462 bytes in 2 blocks are definitely lost in loss record 1,356 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52765B0: parse_body (lj_parse.c:1855)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5278C99: parse_for_iter (lj_parse.c:2554)
==31485== by 0x5278C99: parse_for (lj_parse.c:2577)
==31485== by 0x5278C99: parse_stmt (lj_parse.c:2638)
==31485== by 0x5278C99: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B52B: luaL_loadbufferx (lj_load.c:143)
==31485== by 0x4F05C8: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:320)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_for_iter
fun:parse_for
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadbufferx
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 470 bytes in 12 blocks are definitely lost in loss record 1,357 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 478 bytes in 8 blocks are definitely lost in loss record 1,358 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526B627: lj_buf_str (lj_buf.h:100)
==31485== by 0x526B627: lj_strfmt_pushvf (lj_strfmt.c:456)
==31485== by 0x526F52B: lua_pushfstring (lj_api.c:671)
==31485== by 0x527B34C: luaL_loadfilex (lj_load.c:96)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_buf_str
fun:lj_strfmt_pushvf
fun:lua_pushfstring
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 490 bytes in 22 blocks are definitely lost in loss record 1,360 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B64D2: lj_lib_register (lj_lib.c:110)
==31485== by 0x52C4CF7: luaopen_ffi (lib_ffi.c:864)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 516 bytes in 20 blocks are definitely lost in loss record 1,361 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B64D2: lj_lib_register (lj_lib.c:110)
==31485== by 0x52C053D: luaopen_debug (lib_debug.c:402)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_debug
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 518 bytes in 10 blocks are definitely lost in loss record 1,362 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 520 bytes in 24 blocks are definitely lost in loss record 1,363 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B64D2: lj_lib_register (lj_lib.c:110)
==31485== by 0x52BBC6F: luaopen_string (lib_string.c:739)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_string
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 558 bytes in 2 blocks are definitely lost in loss record 1,366 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526F2EA: lua_pushlstring (lj_api.c:640)
==31485== by 0x4DCE6B: ngx_http_lua_new_state (ngx_http_lua_util.c:225)
==31485== by 0x4DCE6B: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lua_pushlstring
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 566 bytes in 2 blocks are definitely lost in loss record 1,367 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52765B0: parse_body (lj_parse.c:1855)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
fun:ngx_http_lua_cache_loadbuffer
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 576 bytes in 6 blocks are definitely lost in loss record 1,368 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52BC2B5: lj_cf_table_new (lib_table.c:292)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:lj_cf_table_new
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 576 bytes in 18 blocks are definitely lost in loss record 1,369 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x52B646D: lj_lib_register (lj_lib.c:92)
==31485== by 0x52BDABD: luaopen_io (lib_io.c:530)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lj_lib_register
fun:luaopen_io
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 704 bytes in 22 blocks are definitely lost in loss record 1,377 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x52B646D: lj_lib_register (lj_lib.c:92)
==31485== by 0x52BDB36: luaopen_io (lib_io.c:533)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lj_lib_register
fun:luaopen_io
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 704 bytes in 22 blocks are definitely lost in loss record 1,378 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x52B646D: lj_lib_register (lj_lib.c:92)
==31485== by 0x52BE43D: luaopen_os (lib_os.c:289)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lj_lib_register
fun:luaopen_os
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 720 bytes in 30 blocks are definitely lost in loss record 1,381 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x526477F: func_finduv (lj_func.c:52)
==31485== by 0x526477F: lj_func_newL_gc (lj_func.c:169)
==31485== by 0x525BCF5: lj_BC_FNEW (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4F062F: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:332)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:func_finduv
fun:lj_func_newL_gc
fun:lj_BC_FNEW
fun:lua_pcall
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 734 bytes in 4 blocks are definitely lost in loss record 1,382 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52765B0: parse_body (lj_parse.c:1855)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 2 blocks are definitely lost in loss record 1,383 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x5264FE7: lj_meta_tset (lj_meta.c:182)
==31485== by 0x5270BC8: lua_setfield (lj_api.c:972)
==31485== by 0x52BF4E5: luaopen_package (lib_package.c:595)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_meta_tset
fun:lua_setfield
fun:luaopen_package
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 2 blocks are definitely lost in loss record 1,384 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52BC6CD: luaopen_table (lib_table.c:318)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_table
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 2 blocks are definitely lost in loss record 1,385 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B689E: lib_create_table (lj_lib.c:44)
==31485== by 0x52B689E: lj_lib_register (lj_lib.c:78)
==31485== by 0x52BDABD: luaopen_io (lib_io.c:530)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_io
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 2 blocks are definitely lost in loss record 1,386 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52BDB36: luaopen_io (lib_io.c:533)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_io
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 2 blocks are definitely lost in loss record 1,387 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52BE43D: luaopen_os (lib_os.c:289)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_os
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 2 blocks are definitely lost in loss record 1,388 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52BBC6F: luaopen_string (lib_string.c:739)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_string
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 2 blocks are definitely lost in loss record 1,389 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52C053D: luaopen_debug (lib_debug.c:402)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_debug
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 2 blocks are definitely lost in loss record 1,390 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52BA14D: luaopen_bit (lib_bit.c:177)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_bit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 2 blocks are definitely lost in loss record 1,391 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52C2216: luaopen_jit (lib_jit.c:769)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_jit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 2 blocks are definitely lost in loss record 1,392 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4DD0B3: ngx_http_lua_init_registry (ngx_http_lua_util.c:678)
==31485== by 0x4DD0B3: ngx_http_lua_new_state (ngx_http_lua_util.c:298)
==31485== by 0x4DD0B3: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_init_registry
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 2 blocks are definitely lost in loss record 1,393 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4ED40F: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:278)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 2 blocks are definitely lost in loss record 1,394 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4F0415: ngx_http_lua_inject_coroutine_api (ngx_http_lua_coroutine.c:249)
==31485== by 0x4DD341: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:758)
==31485== by 0x4DD341: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD341: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD341: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_coroutine_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 2 blocks are definitely lost in loss record 1,395 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x52638C1: lj_tab_setstr (lj_tab.c:534)
==31485== by 0x52763D6: lj_parse_keepstr (lj_parse.c:238)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527931C: parse_then (lj_parse.c:2590)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_tab_setstr
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 2 blocks are definitely lost in loss record 1,396 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x52638C1: lj_tab_setstr (lj_tab.c:534)
==31485== by 0x52763D6: lj_parse_keepstr (lj_parse.c:238)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x52760EB: expr_field (lj_parse.c:1673)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_tab_setstr
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_field
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 2 blocks are definitely lost in loss record 1,397 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x52638C1: lj_tab_setstr (lj_tab.c:534)
==31485== by 0x52763D6: lj_parse_keepstr (lj_parse.c:238)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527931C: parse_then (lj_parse.c:2590)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_tab_setstr
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 24 blocks are definitely lost in loss record 1,398 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x52B646D: lj_lib_register (lj_lib.c:92)
==31485== by 0x52BA14D: luaopen_bit (lib_bit.c:177)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lj_lib_register
fun:luaopen_bit
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 768 bytes in 24 blocks are definitely lost in loss record 1,399 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5262D99: newtab (lj_tab.c:122)
==31485== by 0x5262FC3: lj_tab_dup (lj_tab.c:187)
==31485== by 0x525BDAF: lj_BC_TDUP (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:newtab
fun:lj_tab_dup
fun:lj_BC_TDUP
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 782 bytes in 24 blocks are definitely lost in loss record 1,400 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x52735D6: lex_string (lj_lex.c:280)
==31485== by 0x52735D6: lex_scan (lj_lex.c:364)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5274E78: lex_str (lj_parse.c:1024)
==31485== by 0x5278055: expr_primary (lj_parse.c:1944)
==31485== by 0x5278504: parse_call_assign (lj_parse.c:2228)
==31485== by 0x5278504: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278504: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_string
fun:lex_scan
fun:lj_lex_next
fun:lex_str
fun:expr_primary
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 832 bytes in 26 blocks are definitely lost in loss record 1,404 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x52B646D: lj_lib_register (lj_lib.c:92)
==31485== by 0x52BBC6F: luaopen_string (lib_string.c:739)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lj_lib_register
fun:luaopen_string
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 848 (128 direct, 720 indirect) bytes in 2 blocks are definitely lost in loss record 1,406 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5268472: lj_state_new (lj_state.c:274)
==31485== by 0x526FAFA: lua_newthread (lj_api.c:737)
==31485== by 0x4D8B5A: ngx_http_lua_new_thread (ngx_http_lua_util.c:319)
==31485== by 0x4DE31C: ngx_http_lua_content_by_chunk (ngx_http_lua_contentby.c:54)
==31485== by 0x4DE54D: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:310)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_state_new
fun:lua_newthread
fun:ngx_http_lua_new_thread
fun:ngx_http_lua_content_by_chunk
fun:ngx_http_lua_content_handler_inline
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 864 bytes in 36 blocks are definitely lost in loss record 1,408 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x526477F: func_finduv (lj_func.c:52)
==31485== by 0x526477F: lj_func_newL_gc (lj_func.c:169)
==31485== by 0x525BCF5: lj_BC_FNEW (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:func_finduv
fun:lj_func_newL_gc
fun:lj_BC_FNEW
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 884 bytes in 42 blocks are definitely lost in loss record 1,409 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x527398D: lj_lex_init (lj_lex.c:504)
==31485== by 0x5267FFF: cpluaopen (lj_state.c:153)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52682BF: lua_newstate (lj_state.c:222)
==31485== by 0x52B7B71: luaL_newstate (lib_aux.c:334)
==31485== by 0x4DCDA4: ngx_http_lua_new_state (ngx_http_lua_util.c:204)
==31485== by 0x4DCDA4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lex_init
fun:cpluaopen
fun:lj_vm_cpcall
fun:lua_newstate
fun:luaL_newstate
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 924 bytes in 40 blocks are definitely lost in loss record 1,410 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x5264B5F: lj_meta_init (lj_meta.c:40)
==31485== by 0x5267FF7: cpluaopen (lj_state.c:152)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52682BF: lua_newstate (lj_state.c:222)
==31485== by 0x52B7B71: luaL_newstate (lib_aux.c:334)
==31485== by 0x4DCDA4: ngx_http_lua_new_state (ngx_http_lua_util.c:204)
==31485== by 0x4DCDA4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_meta_init
fun:cpluaopen
fun:lj_vm_cpcall
fun:lua_newstate
fun:luaL_newstate
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 976 bytes in 46 blocks are definitely lost in loss record 1,415 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B64D2: lj_lib_register (lj_lib.c:110)
==31485== by 0x52B9C41: luaopen_math (lib_math.c:223)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_math
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,024 bytes in 32 blocks are definitely lost in loss record 1,419 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x52B646D: lj_lib_register (lj_lib.c:92)
==31485== by 0x52C053D: luaopen_debug (lib_debug.c:402)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lj_lib_register
fun:luaopen_debug
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,076 bytes in 18 blocks are definitely lost in loss record 1,420 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x526B627: lj_buf_str (lj_buf.h:100)
==31485== by 0x526B627: lj_strfmt_pushvf (lj_strfmt.c:456)
==31485== by 0x526F52B: lua_pushfstring (lj_api.c:671)
==31485== by 0x527B34C: luaL_loadfilex (lj_load.c:96)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_buf_str
fun:lj_strfmt_pushvf
fun:lua_pushfstring
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,088 bytes in 34 blocks are definitely lost in loss record 1,421 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x52B646D: lj_lib_register (lj_lib.c:92)
==31485== by 0x52C4CF7: luaopen_ffi (lib_ffi.c:864)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lj_lib_register
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,106 bytes in 2 blocks are definitely lost in loss record 1,422 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52763C1: lj_parse_keepstr (lj_parse.c:237)
==31485== by 0x5272701: lex_longstring (lj_lex.c:175)
==31485== by 0x5272E6C: lex_scan (lj_lex.c:338)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5274E78: lex_str (lj_parse.c:1024)
==31485== by 0x5276112: expr_str (lj_parse.c:1632)
==31485== by 0x5276112: expr_field (lj_parse.c:1674)
==31485== by 0x52780CF: expr_primary (lj_parse.c:1950)
==31485== by 0x5278504: parse_call_assign (lj_parse.c:2228)
==31485== by 0x5278504: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278504: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_parse_keepstr
fun:lex_longstring
fun:lex_scan
fun:lj_lex_next
fun:lex_str
fun:expr_str
fun:expr_field
fun:expr_primary
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,108 bytes in 46 blocks are definitely lost in loss record 1,423 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52B64D2: lj_lib_register (lj_lib.c:110)
==31485== by 0x52B96C8: luaopen_base (lib_base.c:666)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_lib_register
fun:luaopen_base
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,152 bytes in 36 blocks are definitely lost in loss record 1,425 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x52B646D: lj_lib_register (lj_lib.c:92)
==31485== by 0x52C4BF9: luaopen_ffi (lib_ffi.c:853)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lj_lib_register
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,248 bytes in 8 blocks are definitely lost in loss record 1,429 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52BC2B5: lj_cf_table_new (lib_table.c:292)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:lj_cf_table_new
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,426 (1,312 direct, 114 indirect) bytes in 2 blocks are definitely lost in loss record 1,431 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52794A7: lj_parse (lj_parse.c:2720)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,520 bytes in 10 blocks are definitely lost in loss record 1,433 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5279B0B: lj_bcread_proto (lj_bcread.c:343)
==31485== by 0x52B67D6: lib_read_lfunc (lj_lib.c:63)
==31485== by 0x52B67D6: lj_lib_register (lj_lib.c:116)
==31485== by 0x52BC6CD: luaopen_table (lib_table.c:318)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_bcread_proto
fun:lib_read_lfunc
fun:lj_lib_register
fun:luaopen_table
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,536 bytes in 2 blocks are definitely lost in loss record 1,436 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B7439: luaL_findtable (lib_aux.c:93)
==31485== by 0x52B6303: lib_create_table (lj_lib.c:35)
==31485== by 0x52B6303: lj_lib_register (lj_lib.c:78)
==31485== by 0x52B9C41: luaopen_math (lib_math.c:223)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:luaL_findtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_math
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,536 bytes in 2 blocks are definitely lost in loss record 1,437 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4DD02A: ngx_http_lua_init_registry (ngx_http_lua_util.c:661)
==31485== by 0x4DD02A: ngx_http_lua_new_state (ngx_http_lua_util.c:298)
==31485== by 0x4DD02A: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_init_registry
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,536 bytes in 2 blocks are definitely lost in loss record 1,438 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4DD05B: ngx_http_lua_init_registry (ngx_http_lua_util.c:667)
==31485== by 0x4DD05B: ngx_http_lua_new_state (ngx_http_lua_util.c:298)
==31485== by 0x4DD05B: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_init_registry
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,536 bytes in 2 blocks are definitely lost in loss record 1,439 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4D97FA: ngx_http_lua_inject_req_api (ngx_http_lua_util.c:2111)
==31485== by 0x4DD26D: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:736)
==31485== by 0x4DD26D: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD26D: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD26D: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_req_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,536 bytes in 2 blocks are definitely lost in loss record 1,440 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x5270D7F: lua_rawset (lj_api.c:991)
==31485== by 0x4ED707: ngx_http_lua_inject_socket_tcp_api (ngx_http_lua_socket_tcp.c:351)
==31485== by 0x4DD29E: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:741)
==31485== by 0x4DD29E: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD29E: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD29E: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lua_rawset
fun:ngx_http_lua_inject_socket_tcp_api
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,536 bytes in 2 blocks are definitely lost in loss record 1,441 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B689E: lib_create_table (lj_lib.c:44)
==31485== by 0x52B689E: lj_lib_register (lj_lib.c:78)
==31485== by 0x52C4BF9: luaopen_ffi (lib_ffi.c:853)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,536 bytes in 2 blocks are definitely lost in loss record 1,442 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x52B689E: lib_create_table (lj_lib.c:44)
==31485== by 0x52B689E: lj_lib_register (lj_lib.c:78)
==31485== by 0x52C4CF7: luaopen_ffi (lib_ffi.c:864)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:lib_create_table
fun:lj_lib_register
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,536 bytes in 2 blocks are definitely lost in loss record 1,443 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x52638C1: lj_tab_setstr (lj_tab.c:534)
==31485== by 0x52763D6: lj_parse_keepstr (lj_parse.c:238)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x52785F2: parse_while (lj_parse.c:2418)
==31485== by 0x52785F2: parse_stmt (lj_parse.c:2630)
==31485== by 0x52785F2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278BC3: parse_return (lj_parse.c:2316)
==31485== by 0x5278BC3: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278BC3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x4E05C0: ngx_http_lua_clfactory_loadbuffer (ngx_http_lua_clfactory.c:731)
==31485== by 0x4DDB0C: ngx_http_lua_cache_loadbuffer (ngx_http_lua_cache.c:166)
==31485== by 0x4DE538: ngx_http_lua_content_handler_inline (ngx_http_lua_contentby.c:300)
==31485== by 0x4DDFE6: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:222)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_tab_setstr
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_while
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:ngx_http_lua_clfactory_loadbuffer
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,536 bytes in 2 blocks are definitely lost in loss record 1,444 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x52638C1: lj_tab_setstr (lj_tab.c:534)
==31485== by 0x52763D6: lj_parse_keepstr (lj_parse.c:238)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5278653: parse_return (lj_parse.c:2310)
==31485== by 0x5278653: parse_stmt (lj_parse.c:2651)
==31485== by 0x5278653: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x5279324: parse_then (lj_parse.c:2591)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_tab_setstr
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_return
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,536 bytes in 2 blocks are definitely lost in loss record 1,445 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x52638C1: lj_tab_setstr (lj_tab.c:534)
==31485== by 0x52763D6: lj_parse_keepstr (lj_parse.c:238)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5274E78: lex_str (lj_parse.c:1024)
==31485== by 0x5278055: expr_primary (lj_parse.c:1944)
==31485== by 0x527681A: expr_simple (lj_parse.c:2011)
==31485== by 0x527681A: expr_unop (lj_parse.c:2077)
==31485== by 0x527681A: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278EAB: parse_local (lj_parse.c:2261)
==31485== by 0x5278EAB: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278EAB: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_tab_setstr
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:lex_str
fun:expr_primary
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,696 bytes in 52 blocks are definitely lost in loss record 1,450 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x52B646D: lj_lib_register (lj_lib.c:92)
==31485== by 0x52B9C41: luaopen_math (lib_math.c:223)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lj_lib_register
fun:luaopen_math
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,712 bytes in 58 blocks are definitely lost in loss record 1,451 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x526437B: func_newL (lj_func.c:122)
==31485== by 0x526468D: lj_func_newL_gc (lj_func.c:160)
==31485== by 0x525BCF5: lj_BC_FNEW (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:func_newL
fun:lj_func_newL_gc
fun:lj_BC_FNEW
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 1,824 bytes in 24 blocks are definitely lost in loss record 1,453 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262FC3: lj_tab_dup (lj_tab.c:187)
==31485== by 0x525BDAF: lj_BC_TDUP (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_dup
fun:lj_BC_TDUP
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 2,000 bytes in 54 blocks are definitely lost in loss record 1,457 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5264566: lj_func_newC (lj_func.c:109)
==31485== by 0x52B646D: lj_lib_register (lj_lib.c:92)
==31485== by 0x52B96C8: luaopen_base (lib_base.c:666)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52C4F38: luaL_openlibs (lib_init.c:45)
==31485== by 0x4DCDB8: ngx_http_lua_new_state (ngx_http_lua_util.c:209)
==31485== by 0x4DCDB8: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:lj_func_newC
fun:lj_lib_register
fun:luaopen_base
fun:lj_BC_FUNCC
fun:luaL_openlibs
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 2,064 bytes in 86 blocks are definitely lost in loss record 1,459 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x526477F: func_finduv (lj_func.c:52)
==31485== by 0x526477F: lj_func_newL_gc (lj_func.c:169)
==31485== by 0x525BCF5: lj_BC_FNEW (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:func_finduv
fun:lj_func_newL_gc
fun:lj_BC_FNEW
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 2,084 bytes in 4 blocks are definitely lost in loss record 1,460 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52765B0: parse_body (lj_parse.c:1855)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x52792D8: parse_block (lj_parse.c:2402)
==31485== by 0x52789C4: parse_stmt (lj_parse.c:2634)
==31485== by 0x52789C4: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:parse_block
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 2,982 bytes in 122 blocks are definitely lost in loss record 1,466 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262A82: lj_str_new (lj_str.c:218)
==31485== by 0x52AAE89: lj_ctype_init (lj_ctype.c:611)
==31485== by 0x52C4AD1: luaopen_ffi (lib_ffi.c:850)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_str_new
fun:lj_ctype_init
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 3,072 bytes in 2 blocks are definitely lost in loss record 1,469 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x5267FA2: cpluaopen (lj_state.c:149)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52682BF: lua_newstate (lj_state.c:222)
==31485== by 0x52B7B71: luaL_newstate (lib_aux.c:334)
==31485== by 0x4DCDA4: ngx_http_lua_new_state (ngx_http_lua_util.c:204)
==31485== by 0x4DCDA4: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:cpluaopen
fun:lj_vm_cpcall
fun:lua_newstate
fun:luaL_newstate
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 3,072 bytes in 2 blocks are definitely lost in loss record 1,470 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x5264FE7: lj_meta_tset (lj_meta.c:182)
==31485== by 0x5270BC8: lua_setfield (lj_api.c:972)
==31485== by 0x52BE65C: lj_cf_package_require (lib_package.c:435)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_meta_tset
fun:lua_setfield
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 3,072 bytes in 2 blocks are definitely lost in loss record 1,471 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x52638C1: lj_tab_setstr (lj_tab.c:534)
==31485== by 0x52763D6: lj_parse_keepstr (lj_parse.c:238)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x527877E: parse_stmt (lj_parse.c:2647)
==31485== by 0x527877E: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_tab_setstr
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 3,072 bytes in 2 blocks are definitely lost in loss record 1,472 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5263A94: newhpart (lj_tab.c:64)
==31485== by 0x5263A94: lj_tab_resize (lj_tab.c:276)
==31485== by 0x5263E96: rehashtab (lj_tab.c:385)
==31485== by 0x526374D: lj_tab_newkey (lj_tab.c:469)
==31485== by 0x52638C1: lj_tab_setstr (lj_tab.c:534)
==31485== by 0x52763D6: lj_parse_keepstr (lj_parse.c:238)
==31485== by 0x527348F: lex_scan (lj_lex.c:301)
==31485== by 0x527392C: lj_lex_next (lj_lex.c:454)
==31485== by 0x5276A25: expr_binop (lj_parse.c:2095)
==31485== by 0x5277651: expr (lj_parse.c:2109)
==31485== by 0x5277651: expr_cond (lj_parse.c:2124)
==31485== by 0x527930D: parse_then (lj_parse.c:2589)
==31485== by 0x5278B14: parse_if (lj_parse.c:2601)
==31485== by 0x5278B14: parse_stmt (lj_parse.c:2627)
==31485== by 0x5278B14: parse_chunk (lj_parse.c:2684)
==31485== by 0x5276580: parse_body (lj_parse.c:1853)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:lj_tab_resize
fun:rehashtab
fun:lj_tab_newkey
fun:lj_tab_setstr
fun:lj_parse_keepstr
fun:lex_scan
fun:lj_lex_next
fun:expr_binop
fun:expr
fun:expr_cond
fun:parse_then
fun:parse_if
fun:parse_stmt
fun:parse_chunk
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 3,280 bytes in 8 blocks are definitely lost in loss record 1,473 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52765B0: parse_body (lj_parse.c:1855)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 4,248 bytes in 96 blocks are definitely lost in loss record 1,475 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x526437B: func_newL (lj_func.c:122)
==31485== by 0x526468D: lj_func_newL_gc (lj_func.c:160)
==31485== by 0x525BCF5: lj_BC_FNEW (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:func_newL
fun:lj_func_newL_gc
fun:lj_BC_FNEW
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 5,290 bytes in 28 blocks are definitely lost in loss record 1,476 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52765B0: parse_body (lj_parse.c:1855)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 5,360 bytes in 24 blocks are definitely lost in loss record 1,477 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52765B0: parse_body (lj_parse.c:1855)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 5,512 bytes in 16 blocks are definitely lost in loss record 1,478 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52765B0: parse_body (lj_parse.c:1855)
==31485== by 0x52771BB: expr_simple (lj_parse.c:2008)
==31485== by 0x52771BB: expr_unop (lj_parse.c:2077)
==31485== by 0x52771BB: expr_binop (lj_parse.c:2090)
==31485== by 0x52775F5: expr (lj_parse.c:2109)
==31485== by 0x52775F5: expr_list (lj_parse.c:1876)
==31485== by 0x5278367: parse_assignment (lj_parse.c:2202)
==31485== by 0x5278533: parse_call_assign (lj_parse.c:2233)
==31485== by 0x5278533: parse_stmt (lj_parse.c:2672)
==31485== by 0x5278533: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:parse_body
fun:expr_simple
fun:expr_unop
fun:expr_binop
fun:expr
fun:expr_list
fun:parse_assignment
fun:parse_call_assign
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 6,144 bytes in 2 blocks are definitely lost in loss record 1,483 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x5262D58: newhpart (lj_tab.c:64)
==31485== by 0x5262D58: newtab (lj_tab.c:143)
==31485== by 0x5262E98: lj_tab_new (lj_tab.c:160)
==31485== by 0x526F7CA: lua_createtable (lj_api.c:706)
==31485== by 0x4DD14B: ngx_http_lua_inject_ngx_api (ngx_http_lua_util.c:713)
==31485== by 0x4DD14B: ngx_http_lua_init_globals (ngx_http_lua_util.c:705)
==31485== by 0x4DD14B: ngx_http_lua_new_state (ngx_http_lua_util.c:299)
==31485== by 0x4DD14B: ngx_http_lua_init_vm (ngx_http_lua_util.c:3749)
==31485== by 0x4DDF0B: ngx_http_lua_create_ctx (ngx_http_lua_util.h:293)
==31485== by 0x4DDF0B: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:newhpart
fun:newtab
fun:lj_tab_new
fun:lua_createtable
fun:ngx_http_lua_inject_ngx_api
fun:ngx_http_lua_init_globals
fun:ngx_http_lua_new_state
fun:ngx_http_lua_init_vm
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 7,296 bytes in 304 blocks are definitely lost in loss record 1,484 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x526477F: func_finduv (lj_func.c:52)
==31485== by 0x526477F: lj_func_newL_gc (lj_func.c:169)
==31485== by 0x525BCF5: lj_BC_FNEW (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:func_finduv
fun:lj_func_newL_gc
fun:lj_BC_FNEW
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 8,154 bytes in 30 blocks are definitely lost in loss record 1,486 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52765B0: parse_body (lj_parse.c:1855)
==31485== by 0x5278AD3: parse_func (lj_parse.c:2286)
==31485== by 0x5278AD3: parse_stmt (lj_parse.c:2644)
==31485== by 0x5278AD3: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:parse_body
fun:parse_func
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 8,224 bytes in 2 blocks are definitely lost in loss record 1,488 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x52AB0DD: lj_cdata_newv (lj_cdata.c:34)
==31485== by 0x52C3E68: lj_cf_ffi_new (lib_ffi.c:508)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x4DA7B2: ngx_http_lua_run_thread (ngx_http_lua_util.c:1010)
==31485== by 0x4F684B: ngx_http_lua_timer_handler (ngx_http_lua_timer.c:672)
==31485== by 0x43C6D6: ngx_event_expire_timers (ngx_event_timer.c:97)
==31485== by 0x43C1EE: ngx_process_events_and_timers (ngx_event.c:266)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_cdata_newv
fun:lj_cf_ffi_new
fun:lj_BC_FUNCC
fun:ngx_http_lua_run_thread
fun:ngx_http_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 17,456 (944 direct, 16,512 indirect) bytes in 2 blocks are definitely lost in loss record 1,493 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260AAC: lj_mem_realloc (lj_gc.c:818)
==31485== by 0x52AAD40: lj_ctype_init (lj_ctype.c:594)
==31485== by 0x52C4AD1: luaopen_ffi (lib_ffi.c:850)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_realloc
fun:lj_ctype_init
fun:luaopen_ffi
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
fun:ngx_http_process_request
fun:ngx_http_process_request_headers
fun:ngx_http_process_request_line
fun:ngx_http_wait_request_handler
fun:ngx_epoll_process_events
}
154-semaphore.t TEST 2: timer + shutdown error log (lua code cache off) ==31485== 28,100 bytes in 44 blocks are definitely lost in loss record 1,494 of 1,495
==31485== at 0x4C2A0D4: malloc (vg_replace_malloc.c:299)
==31485== by 0x4C2A248: realloc (vg_replace_malloc.c:785)
==31485== by 0x5260B87: lj_mem_newgco (lj_gc.c:831)
==31485== by 0x5275611: fs_finish (lj_parse.c:1570)
==31485== by 0x52765B0: parse_body (lj_parse.c:1855)
==31485== by 0x5278DC2: parse_local (lj_parse.c:2248)
==31485== by 0x5278DC2: parse_stmt (lj_parse.c:2648)
==31485== by 0x5278DC2: parse_chunk (lj_parse.c:2684)
==31485== by 0x527948F: lj_parse (lj_parse.c:2717)
==31485== by 0x527B18A: cpparser (lj_load.c:41)
==31485== by 0x525CF36: lj_vm_cpcall (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527B2AA: lua_loadx (lj_load.c:58)
==31485== by 0x527B367: luaL_loadfilex (lj_load.c:101)
==31485== by 0x52BF039: lj_cf_package_loader_lua (lib_package.c:349)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE5DC: lj_cf_package_require (lib_package.c:426)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x52BE679: lj_cf_package_require (lib_package.c:437)
==31485== by 0x525CBC7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==31485== by 0x527171C: lua_pcall (lj_api.c:1129)
==31485== by 0x4DD757: ngx_http_lua_do_call (ngx_http_lua_util.c:4018)
==31485== by 0x4F13C6: ngx_http_lua_init_by_inline (ngx_http_lua_initby.c:24)
==31485== by 0x4DDF5C: ngx_http_lua_create_ctx (ngx_http_lua_util.h:302)
==31485== by 0x4DDF5C: ngx_http_lua_content_handler (ngx_http_lua_contentby.c:175)
==31485== by 0x4571A5: ngx_http_core_content_phase (ngx_http_core_module.c:1379)
==31485== by 0x451D02: ngx_http_core_run_phases (ngx_http_core_module.c:856)
==31485== by 0x451E10: ngx_http_handler (ngx_http_core_module.c:839)
==31485== by 0x45DB0D: ngx_http_process_request (ngx_http_request.c:1916)
==31485== by 0x45E139: ngx_http_process_request_headers (ngx_http_request.c:1348)
==31485== by 0x45E6A6: ngx_http_process_request_line (ngx_http_request.c:1027)
==31485== by 0x45ED6E: ngx_http_wait_request_handler (ngx_http_request.c:504)
==31485== by 0x4460AE: ngx_epoll_process_events (ngx_epoll_module.c:900)
==31485== by 0x43C193: ngx_process_events_and_timers (ngx_event.c:252)
==31485== by 0x443C59: ngx_worker_process_cycle (ngx_process_cycle.c:821)
==31485== by 0x44235D: ngx_spawn_process (ngx_process.c:198)
==31485== by 0x442FF5: ngx_start_worker_processes (ngx_process_cycle.c:398)
==31485== by 0x444DEC: ngx_master_process_cycle (ngx_process_cycle.c:250)
==31485== by 0x41D5CC: main (nginx.c:367)
==31485==
{
<insert_a_suppression_name_here>
Memcheck:Leak
match-leak-kinds: definite
fun:malloc
fun:realloc
fun:lj_mem_newgco
fun:fs_finish
fun:parse_body
fun:parse_local
fun:parse_stmt
fun:parse_chunk
fun:lj_parse
fun:cpparser
fun:lj_vm_cpcall
fun:lua_loadx
fun:luaL_loadfilex
fun:lj_cf_package_loader_lua
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lj_cf_package_require
fun:lj_BC_FUNCC
fun:lua_pcall
fun:ngx_http_lua_do_call
fun:ngx_http_lua_init_by_inline
fun:ngx_http_lua_create_ctx
fun:ngx_http_lua_content_handler
fun:ngx_http_core_content_phase
fun:ngx_http_core_run_phases
fun:ngx_http_handler
}

Expected Failures

File Name Details
023-rewrite/socket-keepalive.t TEST 11: sanity (uds) - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2017/07/13 21:19:59 [debug] 23192\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0)
043-shdict.t TEST 54: list keys in an empty shdict with a limit - response_body - response is expected (repeated req 0, req 0) got: '2
'
expected: '0
'
043-shdict.t TEST 36: incr key (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-incr: nil not found
+incr: nil not a number
-foo = nil
+foo = hello, world
'
043-shdict.t TEST 49: list all keys in a shdict - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
-2
+3
+aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
bah
bar
'
043-shdict.t TEST 57: list all keys in a shdict with more than 1024 keys with 0 limit set - response_body - response is expected (repeated req 0, req 0) got: '2049
'
expected: '2048
'
043-shdict.t TEST 32: replace key (key not exists) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-replace: false not found false
+replace: true nil false
-foo = nil
+foo = 10502
'
043-shdict.t TEST 53: list keys in an empty shdict - response_body - response is expected (repeated req 0, req 0) got: '1024
'
expected: '0
'
043-shdict.t nginx: [emerg] lua_shared_dict "dogs" is already defined as "dogs" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf chain, but reallocate memory because 5 >= 0" should match a line in error.log (req 0)
056-flush.t TEST 1: flush wait - content - pattern "lua reuse free buf chain, but reallocate memory because 5 >= 0" should match a line in error.log (req 1)
059-unix-socket.t TEST 3: sanity - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed
-close: 1 nil
'
059-unix-socket.t TEST 3: sanity - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-request sent: 57
-received: HTTP/1.1 200 OK
-received: Server: nginx
-received: Content-Type: text/plain
-received: Content-Length: 4
-received: Connection: close
-received:
-received: foo
-failed to receive a line: closed
-close: 1 nil
'
068-socket-keepalive.t TEST 11: sanity (uds) - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2017/07/13 21:42:25 [debug] 14827\#0: lua tcp socket keepalive: free connection pool for \"127.0.0.1:1984\"" (req 0)
068-socket-keepalive.t TEST 15: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2017/07/13 21:42:28 [debug] 14912\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0)
068-socket-keepalive.t TEST 15: custom pools (same pool for different host:port) - tcp - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2017/07/13 21:42:28 [debug] 14912\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0)
068-socket-keepalive.t TEST 16: custom pools (different pool for the same host:port) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2017/07/13 21:42:29 [debug] 14933\#0: lua tcp socket keepalive: free connection pool for \"foo\"" (req 0)
068-socket-keepalive.t TEST 17: custom pools (same pool for the same path) - unix - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-connected: 1, reused: 0
+failed to connect: no such file or directory
-connected: 1, reused: 1
+failed to connect: no such file or directory
'
068-socket-keepalive.t TEST 17: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive create connection pool for key "A"" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 17: custom pools (same pool for the same path) - unix - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
068-socket-keepalive.t TEST 17: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2017/07/13 21:42:30 [debug] 14954\#0: lua tcp socket keepalive: free connection pool for \"A\"" (req 0)
068-socket-keepalive.t TEST 17: custom pools (same pool for the same path) - unix - pattern "lua tcp socket keepalive: free connection pool for " should not match any line in error.log but matches line "2017/07/13 21:42:30 [debug] 14954\#0: lua tcp socket keepalive: free connection pool for \"B\"" (req 0)
086-init-by.t nginx: [error] init_by_lua error: init_by_lua:2: failed to init
106-timer.t TEST 30: user args - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 1)
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 9: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 1)
106-timer.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
106-timer.t TEST 2: separated global env - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 7: simple at (sleep in the timer callback) - log_by_lua - pattern "(?^:\[lua\] log_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'lua found 8188 pending timers
'
expected: 'lua found 8191 pending timers
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'lua found 8187 pending timers
'
expected: 'lua found 8191 pending timers
'
109-timer-hup.t TEST 2: multiple timers - pattern "in callback: hello, 10!" should match a line in error.log (req 1)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua abort pending timers" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "lua ngx.timer expired" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "http lua close fake http connection" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "timer prematurely expired: true" should match a line in error.log (req 0)
109-timer-hup.t TEST 3: trying to add new timer after HUP reload - pattern "failed to register a new timer after reload: process exiting, context: ngx.timer" should match a line in error.log (req 0)
124-init-worker.t TEST 18: syslog error log - udp_query ok ''
doesn't match '(?^:Bad bad bad)'
126-shdict-frag.t TEST 1: merge 2 single-page free blocks (forcibly evicted, merge forward) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1,11 @@
successfully set foo.
-successfully set bar.
-successfully set baz with force.
-foo not found
+failed to set bar: no memory
+failed to set baz: no memory
+found foo: 4000
bar not found
-found baz: 8102
-successfully set foo with force.
-successfully set bar.
+baz not found
+successfully set foo.
+successfully set bar with force.
successfully set baz with force.
foo not found
bar not found
'
126-shdict-frag.t TEST 4: merge one single-page block backward, but no more - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
-successfully set foo.
+successfully set foo with force.
successfully set bar.
successfully set baz.
found foo: 4000
'
129-ssl-socket.t TEST 24: lua_ssl_crl - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: 12: CRL has expired
-failed to send http request: closed
'
129-ssl-socket.t TEST 24: lua_ssl_crl - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 24: lua_ssl_crl - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: 12: CRL has expired
-failed to send http request: closed
'
129-ssl-socket.t TEST 24: lua_ssl_crl - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: 18: self signed certificate
'
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: 18: self signed certificate
'
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
132-lua-blocks.t nginx: [emerg] "events" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:56
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:41
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server test2\.com\b)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed\b)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server test2\.com\b)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed\b)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server test2\.com\b)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 20: some server {} block missing ssl_certificate_by_lua* handlers (literal server name) - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed\b)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 9: lua exception - no yield - pattern "[emerg]" should not match any line in error.log but matches line "2017/07/13 21:58:24 [emerg] 29297\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock failed (2: No such file or directory)" (req 0)
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - grep_error_log_out (req 0) @@ -1,3 +0,0 @@
-uthread: thread created: running
-uthread: hello in thread
-uthread: done
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-uthread: thread created: running
-uthread: hello in thread
-uthread: done
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
139-ssl-cert-by.t TEST 16: simple user thread wait with yielding - grep_error_log_out (req 2) @@ -1,3 +0,0 @@
-uthread: thread created: running
-uthread: hello in thread
-uthread: done
'
139-ssl-cert-by.t TEST 1: simple logging - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
139-ssl-cert-by.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 1: simple logging - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 1: simple logging - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
139-ssl-cert-by.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 1: simple logging - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 1: simple logging - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
139-ssl-cert-by.t TEST 1: simple logging - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 1: simple logging - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
139-ssl-cert-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
139-ssl-cert-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 3: timer - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
139-ssl-cert-by.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 11: get phase - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
'
139-ssl-cert-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 11: get phase - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
'
139-ssl-cert-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 11: get phase - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
'
139-ssl-cert-by.t TEST 11: get phase - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 11: get phase - pattern "get_phase: ssl_cert" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 14: simple logging (by_lua_file) - pattern "a.lua:1: ssl cert by lua is running!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server ~test2\\\.com\b)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed\b)" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server ~test2\\\.com\b)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed\b)" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: handshake failed
'
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[alert\] .*? no ssl_certificate_by_lua\* defined in server ~test2\\\.com\b)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 21: some server {} block missing ssl_certificate_by_lua* handlers (regex server name) - pattern "(?^:\[crit\] .*? SSL_do_handshake\(\) failed\b)" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 17: simple logging - use ssl_certificate_by_lua* on the http {} level - pattern "ssl_certificate_by_lua:1: ssl cert by lua is running!" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 5: ngx.exit(0) - no yield - pattern "[emerg]" should not match any line in error.log but matches line "2017/07/13 21:58:33 [emerg] 29297\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock failed (2: No such file or directory)" (req 0)
139-ssl-cert-by.t TEST 10: lua exception - yield - pattern "[emerg]" should not match any line in error.log but matches line "2017/07/13 21:58:37 [emerg] 29297\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock failed (2: No such file or directory)" (req 0)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: timeout
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 0)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: timeout
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 1)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +1 @@
-connected: 1
+failed to connect: no such file or directory
-failed to do SSL handshake: timeout
'
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 12: connection aborted prematurely - pattern "ssl-cert-by-lua: after sleeping" should match a line in error.log (req 2)
139-ssl-cert-by.t TEST 8: ngx.exit(ngx.ERROR) - yield - pattern "[emerg]" should not match any line in error.log but matches line "2017/07/13 21:58:44 [emerg] 29297\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock failed (2: No such file or directory)" (req 0)
139-ssl-cert-by.t TEST 7: ngx.exit(0) - yield - pattern "[emerg]" should not match any line in error.log but matches line "2017/07/13 21:58:48 [emerg] 29297\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/nginx.sock failed (2: No such file or directory)" (req 0)
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 4: simple cert + private key cdata - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
140-ssl-c-api.t TEST 4: simple cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
140-ssl-c-api.t TEST 5: ECDSA cert + private key cdata - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
140-ssl-c-api.t TEST 1: simple cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
140-ssl-c-api.t TEST 1: simple cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 1: simple cert + private key - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
140-ssl-c-api.t TEST 1: simple cert + private key - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 0, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM cert: PEM_read_bio_X509_AUX()" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM priv key: PEM_read_bio_PrivateKey() failed" should match a line in error.log (req 0)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 1, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM cert: PEM_read_bio_X509_AUX()" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM priv key: PEM_read_bio_PrivateKey() failed" should match a line in error.log (req 1)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - response_body - response is expected (repeated req 2, req 0) @@ -1,11 +1 @@
-connected: 1
+failed to connect: no such file or directory
-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
'
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM cert: PEM_read_bio_X509_AUX()" should match a line in error.log (req 2)
140-ssl-c-api.t TEST 3: Handshake continue when cert_pem_to_der errors - pattern "failed to parse PEM priv key: PEM_read_bio_PrivateKey() failed" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 8: get phase - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 8: get phase - pattern "get_phase: ssl_session_store" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 8: get phase - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 8: get phase - pattern "get_phase: ssl_session_store" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 8: get phase - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 8: get phase - pattern "get_phase: ssl_session_store" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 3: timer - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 3: timer - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 3: timer - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 3: timer - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 3: timer - pattern "my timer run!" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 10: simple logging (by file) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 10: simple logging (by file) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 10: simple logging (by file) - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 10: simple logging (by file) - pattern "a.lua:1: ssl store session by lua is running!" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 7: lua exception - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 7: lua exception - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 7: lua exception - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 7: lua exception - no yield - pattern "failed to run session_store_by_lua*: ssl_session_store_by_lua_block:2: bad bad bad" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "[emerg]" should not match any line in error.log but matches line "2017/07/13 21:59:09 [emerg] 29811\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/https.sock failed (2: No such file or directory)" (req 0)
142-ssl-session-store.t TEST 4: cosocket is not allowed - pattern "[emerg]" should not match any line in error.log but matches line "2017/07/13 21:59:09 [emerg] 29811\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/http.sock failed (2: No such file or directory)" (req 0)
142-ssl-session-store.t nginx: [emerg] "ssl_session_store_by_lua_block" directive is not allowed here in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:28
142-ssl-session-store.t TEST 2: sleep is not allowed - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 2: sleep is not allowed - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 2: sleep is not allowed - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 2: sleep is not allowed - pattern "API disabled in the context of ssl_session_store_by_lua*" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 5: ngx.exit(0) - no yield - pattern "lua exit with code 0" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 0)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 1)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "lua ssl server name: "test.com"" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "(?^:elapsed in ssl cert by lua: 0.(?:09|1[01])\d+,)" should match a line in error.log (req 2)
142-ssl-session-store.t TEST 9: inter-operation with ssl_certificate_by_lua - pattern "ssl_session_store_by_lua_block:1: ssl store session by lua is running!" should match a line in error.log (req 2)
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua*: handler return value: -1, sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 6: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua*: handler return value: -1, sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 0) @@ -1,2 +0,0 @@
-ssl cert by lua is running!
-ssl store session by lua is running!
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 1) @@ -1,3 +0,0 @@
-ssl fetch session by lua is running!
-ssl cert by lua is running!
-ssl store session by lua is running!
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 11: inter-operation with ssl_certificate_by_lua - grep_error_log_out (req 2) @@ -1,3 +0,0 @@
-ssl fetch session by lua is running!
-ssl cert by lua is running!
-ssl store session by lua is running!
'
143-ssl-session-fetch.t TEST 2: sleep - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 2: sleep - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 2: sleep - grep_error_log_out (req 1) ''
doesn't match '(?^:elapsed in ssl fetch session by lua: 0.(?:09|1[01])\d+,)'
143-ssl-session-fetch.t TEST 2: sleep - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 2: sleep - grep_error_log_out (req 2) ''
doesn't match '(?^:elapsed in ssl fetch session by lua: 0.(?:09|1[01])\d+,)'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 13: mixing ssl virtual servers with non-ssl virtual servers - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 3: timer - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 3: timer - pattern "[emerg]" should not match any line in error.log but matches line "2017/07/13 21:59:24 [emerg] 30027\#0: unlink() /home/ec2-user/git/lua-nginx-module/t/servroot/html/http.sock failed (2: No such file or directory)" (req 0)
143-ssl-session-fetch.t TEST 3: timer - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 3: timer - grep_error_log_out (req 1) got: ''
expected: 'my timer run!
'
143-ssl-session-fetch.t TEST 3: timer - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 3: timer - grep_error_log_out (req 2) got: ''
expected: 'my timer run!
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - grep_error_log_out (req 1) got: ''
expected: 'a.lua:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 12: simple logging (by file) - grep_error_log_out (req 2) got: ''
expected: 'a.lua:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 1: simple logging - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 1: simple logging - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 1: simple logging - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 1: simple logging - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 1: simple logging - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua_block:1: ssl fetch sess by lua is running!
'
143-ssl-session-fetch.t TEST 4: cosocket - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 4: cosocket - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 4: cosocket - grep_error_log_out (req 1) got: ''
expected: 'received memc reply: OK
'
143-ssl-session-fetch.t TEST 4: cosocket - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 4: cosocket - grep_error_log_out (req 2) got: ''
expected: 'received memc reply: OK
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua_block:2: bad bad bad
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 8: lua exception - no yield - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua_block:2: bad bad bad
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 1) got: ''
expected: 'ssl_session_fetch_by_lua*: sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 7: ngx.exit(ngx.ERROR) - yield - grep_error_log_out (req 2) got: ''
expected: 'ssl_session_fetch_by_lua*: sess get cb exit code: 0
'
143-ssl-session-fetch.t TEST 10: get phase - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 10: get phase - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 10: get phase - grep_error_log_out (req 1) got: ''
expected: 'get_phase: ssl_session_fetch
'
143-ssl-session-fetch.t TEST 10: get phase - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 10: get phase - grep_error_log_out (req 2) got: ''
expected: 'get_phase: ssl_session_fetch
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - grep_error_log_out (req 1) got: ''
expected: 'lua exit with code 0
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - response_body - response is expected (repeated req 2, req 0) @@ -1,3 +1 @@
-connected: 1
+failed to connect: no such file or directory
-ssl handshake: userdata
-close: 1 nil
'
143-ssl-session-fetch.t TEST 5: ngx.exit(0) - yield - grep_error_log_out (req 2) got: ''
expected: 'lua exit with code 0
'
145-shdict-list.t TEST 1: lpush & lpop - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,5 @@
-push success
+push err: value not a list
-1 nil
+nil value not a list
-bar nil
+nil value not a list
-0 nil
+nil value not a list
-nil nil
+nil value not a list
'
145-shdict-list.t TEST 13: lpush and rpop - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
-1
+push err: value not a list
-2
+pop err: value not a list
-3
'
145-shdict-list.t TEST 8: get_keys operation on list type - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-push success
+push err: value not a list
key: foo
'
145-shdict-list.t TEST 2: get operation on list type - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
-push success
+push err: value not a list
-nil value is a list
+bar nil
'
145-shdict-list.t TEST 14: rpush and lpop - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,2 @@
-1
+push err: value not a list
-2
+pop err: value not a list
-3
'
145-shdict-list.t TEST 12: lpush and lpop - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,4 @@
-3
-2
+push err: nil
1
+bar
+pop err: nil
'
146-malloc-trim.t TEST 2: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 1: malloc_trim() every 1 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 7: zero count means off, log_by_lua - grep_error_log_out (req 0) got: 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
expected: ''
146-malloc-trim.t TEST 5: malloc_trim() every 2 req, in subreq, big memory usage - grep_error_log_out (req 0) @@ -1,3 +1,8 @@
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
-malloc_trim(1) returned 1
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
+malloc_trim(1) returned 0
'
146-malloc-trim.t TEST 6: zero count means off - grep_error_log_out (req 0) got: 'malloc_trim(1) returned 0
'
expected: ''
146-malloc-trim.t TEST 3: malloc_trim() every 2 req, in subreq - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
malloc_trim\(1\) returned [01]
\z)'
146-malloc-trim.t TEST 8: malloc_trim() every 1 req - grep_error_log_out (req 0) 'malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
malloc_trim(1) returned 0
'
doesn't match '(?^:\Amalloc_trim\(1\) returned [01]
\z)'
148-fake-shm-zone.t TEST 4: multiply zones - response_body - response is expected (repeated req 0, req 0) @@ -1,7 +1,7 @@
name=x1
size=1048576
isinit=true
-isold=false
+isold=true
name=x2
size=2097152
isinit=true
'
148-fake-shm-zone.t nginx: [emerg] lua_fake_shm "x1" is already defined as "x1" in /home/ec2-user/git/lua-nginx-module/t/servroot/conf/nginx.conf:26
152-timer-every.t TEST 2: separated global env - pattern "[alert]" should not match any line in error.log but matches line "2017/07/13 22:01:00 [alert] 31274\#0: 9 lua_max_running_timers are not enough" (req 0)
152-timer-every.t TEST 6: memory leak check - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-growth1 == growth2: true
+growth1 == growth2: false
'
152-timer-every.t TEST 4: create the next timer immediately when timer start running - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-foo = 6
+foo = 3
'
152-timer-every.t TEST 3: lua variable sharing via upvalue - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
registered timer
-foo = 6
+foo = 3
'
152-timer-every.t TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
152-timer-every.t TEST 1: simple very - pattern "(?^:\[lua\] content_by_lua\(nginx\.conf:\d+\):\d+: elapsed: 0\.(?:09|10)\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)

Warnings

Go back to the index page.