(This page was automatically generated by the tools in the opsboy project on 21:45:58 31-Oct-2016 GMT.)

Detailed Test Report for ngx_stream_lua in linux i386 (wv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
aafd50b2 2016-10-29 23:15:36 GMT 132 40 94 7566 3182 sec

LuaJIT

LuaJIT 2.1.0-beta2, commit e244b1d

Compilation Errors

Unexpected Failures

File Name Details
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1 @@
-before f
+b-before g
-hello in g()
-after g
-after f
'
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1 @@
-before f
+b-before g
-hello in g()
-after g
-after f
'
093-uthread-spawn.t TEST 13: manual time slicing between two user threads - response_body - response is expected (repeated req 0, req 0) @@ -1,7 +1 @@
-f 1
+f-g 1
-f 2
-done
-g 2
-f 3
-g 3
'
093-uthread-spawn.t TEST 13: manual time slicing between two user threads - response_body - response is expected (repeated req 1, req 0) @@ -1,7 +1 @@
-f 1
+f-g 1
-f 2
-done
-g 2
-f 3
-g 3
'
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread - response_body - response is expected (repeated req 0, req 0) @@ -1,8 +1 @@
-0
+0-1
-f 1
-2
-f 2
-3
-f 3
-4
'
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread - response_body - response is expected (repeated req 1, req 0) @@ -1,8 +1 @@
-0
+0-1
-f 1
-2
-f 2
-3
-f 3
-4
'
093-uthread-spawn.t TEST 2: two simple user threads without I/O - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1 @@
-before 1
+b-in thread 1
-after 1
-before 2
-in thread 2
-after 2
'
093-uthread-spawn.t TEST 2: two simple user threads without I/O - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1 @@
-before 1
+b-in thread 1
-after 1
-before 2
-in thread 2
-after 2
'
093-uthread-spawn.t TEST 1: simple user thread without I/O - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-before
+b-hello in thread
-after
'
093-uthread-spawn.t TEST 1: simple user thread without I/O - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-before
+b-hello in thread
-after
'
093-uthread-spawn.t TEST 19: simple user thread with args - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-before
+b-hello foo and 3.14
-after
'
093-uthread-spawn.t TEST 19: simple user thread with args - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-before
+b-hello foo and 3.14
-after
'
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread - response_body - response is expected (repeated req 0, req 0) got: 's'
expected: 'status: zombie
'
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread - response_body - response is expected (repeated req 1, req 0) got: 's'
expected: 'status: zombie
'
093-uthread-spawn.t TEST 6: nested user threads - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1 @@
-before f
+b-before g
-hello in g()
-after f
-after g
'
093-uthread-spawn.t TEST 6: nested user threads - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1 @@
-before f
+b-before g
-hello in g()
-after f
-after g
'
093-uthread-spawn.t TEST 5: error in user thread - response_body - response is expected (repeated req 0, req 0) got: 'a'
expected: 'after
'
093-uthread-spawn.t TEST 5: error in user thread - response_body - response is expected (repeated req 1, req 0) got: 'a'
expected: 'after
'
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp - response_body_like - response is expected (b) 'b'
doesn't match '(?^s:^(?:before
after
received: hello udp
|before
received: hello udp
after)$)'
094-uthread-exit.t TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
094-uthread-exit.t TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - pattern "[error]" should not match any line in error.log but matches line "2016/10/29 23:56:13 [error] 18484\#0: *7 connect() failed (111: Connection refused) while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O - response_body - response is expected (repeated req 0, req 0) @@ -1,7 +1 @@
-f: hello
+f-thread f created: zombie
-g: hello
-thread g created: zombie
-res: f done
-f status: dead
-g status: zombie
'
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O - response_body - response is expected (repeated req 1, req 0) @@ -1,7 +1 @@
-f: hello
+f-thread f created: zombie
-g: hello
-thread g created: zombie
-res: f done
-f status: dead
-g status: zombie
'
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors - response_body - response is expected (repeated req 0, req 0) @@ -1,7 +1 @@
-f: hello
+f-thread f created: zombie
-g: hello
-thread g created: zombie
-failed to wait thread: f done
-f status: dead
-g status: zombie
'
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors - response_body - response is expected (repeated req 1, req 0) @@ -1,7 +1 @@
-f: hello
+f-thread f created: zombie
-g: hello
-thread g created: zombie
-failed to wait thread: f done
-f status: dead
-g status: zombie
'
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times - response_body - response is expected (repeated req 0, req 0) @@ -1,100 +1 @@
-1: done
+1-2: done
-3: done
-4: done
-5: done
-6: done
-7: done
-8: done
-9: done
-10: done
-11: done
-12: done
-13: done
-14: done
-15: done
-16: done
-17: done
-18: done
-19: done
-20: done
-21: done
-22: done
-23: done
-24: done
-25: done
-26: done
-27: done
-28: done
-29: done
-30: done
-31: done
-32: done
-33: done
-34: done
-35: done
-36: done
-37: done
-38: done
-39: done
-40: done
-41: done
-42: done
-43: done
-44: done
-45: done
-46: done
-47: done
-48: done
-49: done
-50: done
-51: done
-52: done
-53: done
-54: done
-55: done
-56: done
-57: done
-58: done
-59: done
-60: done
-61: done
-62: done
-63: done
-64: done
-65: done
-66: done
-67: done
-68: done
-69: done
-70: done
-71: done
-72: done
-73: done
-74: done
-75: done
-76: done
-77: done
-78: done
-79: done
-80: done
-81: done
-82: done
-83: done
-84: done
-85: done
-86: done
-87: done
-88: done
-89: done
-90: done
-91: done
-92: done
-93: done
-94: done
-95: done
-96: done
-97: done
-98: done
-99: done
-100: done
'
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times - response_body - response is expected (repeated req 1, req 0) @@ -1,100 +1 @@
-1: done
+1-2: done
-3: done
-4: done
-5: done
-6: done
-7: done
-8: done
-9: done
-10: done
-11: done
-12: done
-13: done
-14: done
-15: done
-16: done
-17: done
-18: done
-19: done
-20: done
-21: done
-22: done
-23: done
-24: done
-25: done
-26: done
-27: done
-28: done
-29: done
-30: done
-31: done
-32: done
-33: done
-34: done
-35: done
-36: done
-37: done
-38: done
-39: done
-40: done
-41: done
-42: done
-43: done
-44: done
-45: done
-46: done
-47: done
-48: done
-49: done
-50: done
-51: done
-52: done
-53: done
-54: done
-55: done
-56: done
-57: done
-58: done
-59: done
-60: done
-61: done
-62: done
-63: done
-64: done
-65: done
-66: done
-67: done
-68: done
-69: done
-70: done
-71: done
-72: done
-73: done
-74: done
-75: done
-76: done
-77: done
-78: done
-79: done
-80: done
-81: done
-82: done
-83: done
-84: done
-85: done
-86: done
-87: done
-88: done
-89: done
-90: done
-91: done
-92: done
-93: done
-94: done
-95: done
-96: done
-97: done
-98: done
-99: done
-100: done
'
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-hello in thread
+h-thread created: zombie
-done
'
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-hello in thread
+h-thread created: zombie
-done
'
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-hello in thread
+h-thread created: zombie
-failed to wait thread: bad bad!
'
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-hello in thread
+h-thread created: zombie
-failed to wait thread: bad bad!
'
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-hello in thread
+h-thread created: zombie
-res: done 3.14
'
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-hello in thread
+h-thread created: zombie
-res: done 3.14
'
098-uthread-wait.t TEST 1: simple user thread wait without I/O - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-hello in thread
+h-thread created: zombie
-done
'
098-uthread-wait.t TEST 1: simple user thread wait without I/O - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-hello in thread
+h-thread created: zombie
-done
'
098-uthread-wait.t TEST 21: waiting on a dead coroutine - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-hello in thread
+h-thread created: zombie
-failed to run thread: already waited or killed
'
098-uthread-wait.t TEST 21: waiting on a dead coroutine - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-hello in thread
+h-thread created: zombie
-failed to run thread: already waited or killed
'
099-c-api.t TEST 6: nil typed value ==18756== Use of uninitialised value of size 4
==18756== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==18756== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==18756== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18756== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==18756== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==18756== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18756== by 0x407D855: lua_resume (lj_api.c:1142)
==18756== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==18756== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==18756== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18756== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18756== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==18756== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18756== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==18756== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==18756== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==18756== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==18756== by 0x805E931: main (nginx.c:364)
==18756==
{
<insert_a_suppression_name_here>
Memcheck:Value4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 6: nil typed value ==18756== Invalid read of size 4
==18756== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==18756== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==18756== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18756== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==18756== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==18756== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18756== by 0x407D855: lua_resume (lj_api.c:1142)
==18756== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==18756== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==18756== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18756== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18756== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==18756== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18756== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==18756== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==18756== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==18756== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==18756== by 0x805E931: main (nginx.c:364)
==18756== Address 0x2c is not stack'd, malloc'd or (recently) free'd
==18756==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 6: nil typed value ==18756==
==18756== Process terminating with default action of signal 11 (SIGSEGV)
==18756== Access not within mapped region at address 0x2C
==18756== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==18756== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==18756== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18756== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==18756== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==18756== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18756== by 0x407D855: lua_resume (lj_api.c:1142)
==18756== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==18756== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==18756== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18756== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18756== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==18756== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18756== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==18756== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==18756== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==18756== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==18756== by 0x805E931: main (nginx.c:364)
==18756== If you believe this happened as a result of a stack
==18756== overflow in your program's main thread (unlikely but
==18756== possible), you can try to increase the size of the
==18756== main thread stack using the --main-stacksize= flag.
==18756== The main thread stack size used in this run was 8388608.

099-c-api.t TEST 6: nil typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 6: nil typed value - response_body - response is expected (repeated req 0, req 0) got: ''
expected: 'foo: rc=-5
'
099-c-api.t TEST 6: nil typed value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 6: nil typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 6: nil typed value - response_body - response is expected (repeated req 1, req 0) got: ''
expected: 'foo: rc=-5
'
099-c-api.t TEST 6: nil typed value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 6: nil typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 6: nil typed value - response_body - response is expected (repeated req 2, req 0) got: ''
expected: 'foo: rc=-5
'
099-c-api.t TEST 3: boolean typed value ==18780== Use of uninitialised value of size 4
==18780== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==18780== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==18780== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18780== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==18780== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==18780== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18780== by 0x407D855: lua_resume (lj_api.c:1142)
==18780== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==18780== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==18780== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18780== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18780== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==18780== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18780== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==18780== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==18780== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==18780== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==18780== by 0x805E931: main (nginx.c:364)
==18780==
{
<insert_a_suppression_name_here>
Memcheck:Value4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 3: boolean typed value ==18780== Invalid read of size 4
==18780== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==18780== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==18780== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18780== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==18780== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==18780== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18780== by 0x407D855: lua_resume (lj_api.c:1142)
==18780== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==18780== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==18780== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18780== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18780== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==18780== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18780== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==18780== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==18780== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==18780== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==18780== by 0x805E931: main (nginx.c:364)
==18780== Address 0x2c is not stack'd, malloc'd or (recently) free'd
==18780==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 3: boolean typed value ==18780==
==18780== Process terminating with default action of signal 11 (SIGSEGV)
==18780== Access not within mapped region at address 0x2C
==18780== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==18780== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==18780== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18780== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==18780== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==18780== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18780== by 0x407D855: lua_resume (lj_api.c:1142)
==18780== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==18780== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==18780== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18780== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18780== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==18780== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18780== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==18780== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==18780== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==18780== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==18780== by 0x805E931: main (nginx.c:364)
==18780== If you believe this happened as a result of a stack
==18780== overflow in your program's main thread (unlikely but
==18780== possible), you can try to increase the size of the
==18780== main thread stack using the --main-stacksize= flag.
==18780== The main thread stack size used in this run was 8388608.

099-c-api.t TEST 3: boolean typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 3: boolean typed value - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=1, val=1
-bar: rc=0, type=1, val=0
'
099-c-api.t TEST 3: boolean typed value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 3: boolean typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 3: boolean typed value - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=1, val=1
-bar: rc=0, type=1, val=0
'
099-c-api.t TEST 3: boolean typed value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 3: boolean typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 3: boolean typed value - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=1, val=1
-bar: rc=0, type=1, val=0
'
099-c-api.t TEST 2: number typed value ==18793== Use of uninitialised value of size 4
==18793== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==18793== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==18793== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18793== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==18793== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==18793== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18793== by 0x407D855: lua_resume (lj_api.c:1142)
==18793== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==18793== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==18793== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18793== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18793== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==18793== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18793== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==18793== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==18793== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==18793== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==18793== by 0x805E931: main (nginx.c:364)
==18793==
{
<insert_a_suppression_name_here>
Memcheck:Value4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 2: number typed value ==18793== Invalid read of size 4
==18793== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==18793== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==18793== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18793== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==18793== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==18793== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18793== by 0x407D855: lua_resume (lj_api.c:1142)
==18793== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==18793== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==18793== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18793== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18793== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==18793== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18793== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==18793== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==18793== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==18793== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==18793== by 0x805E931: main (nginx.c:364)
==18793== Address 0x2c is not stack'd, malloc'd or (recently) free'd
==18793==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 2: number typed value ==18793==
==18793== Process terminating with default action of signal 11 (SIGSEGV)
==18793== Access not within mapped region at address 0x2C
==18793== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==18793== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==18793== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18793== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==18793== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==18793== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18793== by 0x407D855: lua_resume (lj_api.c:1142)
==18793== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==18793== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==18793== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18793== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18793== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==18793== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18793== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==18793== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==18793== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==18793== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==18793== by 0x805E931: main (nginx.c:364)
==18793== If you believe this happened as a result of a stack
==18793== overflow in your program's main thread (unlikely but
==18793== possible), you can try to increase the size of the
==18793== main thread stack using the --main-stacksize= flag.
==18793== The main thread stack size used in this run was 8388608.

099-c-api.t TEST 2: number typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 2: number typed value - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=3, val=1234567
-bar: rc=0, type=3, val=3.14159
'
099-c-api.t TEST 2: number typed value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 2: number typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 2: number typed value - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=3, val=1234567
-bar: rc=0, type=3, val=3.14159
'
099-c-api.t TEST 2: number typed value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 2: number typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 2: number typed value - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=3, val=1234567
-bar: rc=0, type=3, val=3.14159
'
099-c-api.t TEST 5: string typed value ==18806== Use of uninitialised value of size 4
==18806== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==18806== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==18806== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18806== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==18806== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==18806== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18806== by 0x407D855: lua_resume (lj_api.c:1142)
==18806== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==18806== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==18806== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18806== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18806== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==18806== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18806== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==18806== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==18806== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==18806== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==18806== by 0x805E931: main (nginx.c:364)
==18806==
{
<insert_a_suppression_name_here>
Memcheck:Value4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 5: string typed value ==18806== Invalid read of size 4
==18806== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==18806== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==18806== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18806== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==18806== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==18806== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18806== by 0x407D855: lua_resume (lj_api.c:1142)
==18806== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==18806== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==18806== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18806== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18806== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==18806== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18806== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==18806== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==18806== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==18806== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==18806== by 0x805E931: main (nginx.c:364)
==18806== Address 0x2c is not stack'd, malloc'd or (recently) free'd
==18806==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 5: string typed value ==18806==
==18806== Process terminating with default action of signal 11 (SIGSEGV)
==18806== Access not within mapped region at address 0x2C
==18806== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==18806== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==18806== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18806== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==18806== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==18806== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18806== by 0x407D855: lua_resume (lj_api.c:1142)
==18806== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==18806== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==18806== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18806== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18806== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==18806== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18806== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==18806== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==18806== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==18806== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==18806== by 0x805E931: main (nginx.c:364)
==18806== If you believe this happened as a result of a stack
==18806== overflow in your program's main thread (unlikely but
==18806== possible), you can try to increase the size of the
==18806== main thread stack using the --main-stacksize= flag.
==18806== The main thread stack size used in this run was 8388608.

099-c-api.t TEST 5: string typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 5: string typed value - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=4, val=hello world, len=11
-bar: rc=0, type=4, val=, len=0
'
099-c-api.t TEST 5: string typed value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 5: string typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 5: string typed value - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=4, val=hello world, len=11
-bar: rc=0, type=4, val=, len=0
'
099-c-api.t TEST 5: string typed value - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 5: string typed value - status code ok got: ''
expected: '200'
099-c-api.t TEST 5: string typed value - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +0,0 @@
-foo: rc=0, type=4, val=hello world, len=11
-bar: rc=0, type=4, val=, len=0
'
099-c-api.t TEST 4: key not found ==18830== Use of uninitialised value of size 4
==18830== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==18830== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==18830== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18830== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==18830== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==18830== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18830== by 0x407D855: lua_resume (lj_api.c:1142)
==18830== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==18830== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==18830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==18830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==18830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==18830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==18830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==18830== by 0x805E931: main (nginx.c:364)
==18830==
{
<insert_a_suppression_name_here>
Memcheck:Value4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 4: key not found ==18830== Invalid read of size 4
==18830== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==18830== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==18830== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18830== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==18830== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==18830== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18830== by 0x407D855: lua_resume (lj_api.c:1142)
==18830== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==18830== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==18830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==18830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==18830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==18830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==18830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==18830== by 0x805E931: main (nginx.c:364)
==18830== Address 0x2c is not stack'd, malloc'd or (recently) free'd
==18830==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_shmtx_lock
fun:ngx_http_lua_shared_dict_get
fun:lj_vm_ffi_call
fun:lj_ccall_func
fun:lj_cf_ffi_meta___call
fun:lj_BC_FUNCC
fun:lua_resume
fun:ngx_stream_lua_run_thread
fun:ngx_stream_lua_content_by_chunk
fun:ngx_stream_lua_content_handler_inline
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
099-c-api.t TEST 4: key not found ==18830==
==18830== Process terminating with default action of signal 11 (SIGSEGV)
==18830== Access not within mapped region at address 0x2C
==18830== at 0x806C998: ngx_shmtx_lock (ngx_shmtx.c:78)
==18830== by 0x8108626: ngx_http_lua_shared_dict_get (ngx_http_lua_shdict.c:1518)
==18830== by 0x4068ECA: lj_vm_ffi_call (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18830== by 0x40BD826: lj_ccall_func (lj_ccall.c:1136)
==18830== by 0x40D5CF2: lj_cf_ffi_meta___call (lib_ffi.c:230)
==18830== by 0x4066F10: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==18830== by 0x407D855: lua_resume (lj_api.c:1142)
==18830== by 0x813B7A6: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==18830== by 0x8139857: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==18830== by 0x813992A: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18830== by 0x8139C47: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18830== by 0x80DC66D: ngx_stream_init_session (ngx_stream_handler.c:244)
==18830== by 0x80DCD75: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18830== by 0x807DC85: ngx_event_accept (ngx_event_accept.c:309)
==18830== by 0x807D2FA: ngx_event_process_posted (ngx_event_posted.c:33)
==18830== by 0x807CD44: ngx_process_events_and_timers (ngx_event.c:249)
==18830== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==18830== by 0x805E931: main (nginx.c:364)
==18830== If you believe this happened as a result of a stack
==18830== overflow in your program's main thread (unlikely but
==18830== possible), you can try to increase the size of the
==18830== main thread stack using the --main-stacksize= flag.
==18830== The main thread stack size used in this run was 8388608.

099-c-api.t TEST 4: key not found - status code ok got: ''
expected: '200'
099-c-api.t TEST 4: key not found - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +0,0 @@
-foo: rc=-5
-bar: rc=-5
'
099-c-api.t TEST 4: key not found - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 4: key not found - status code ok got: ''
expected: '200'
099-c-api.t TEST 4: key not found - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +0,0 @@
-foo: rc=-5
-bar: rc=-5
'
099-c-api.t TEST 4: key not found - Can't connect to 127.0.0.1:1984: Connection refused (aborted) '
099-c-api.t TEST 4: key not found - status code ok got: ''
expected: '200'
099-c-api.t TEST 4: key not found - response_body - response is expected (repeated req 2, req 0) @@ -1,2 +0,0 @@
-foo: rc=-5
-bar: rc=-5
'
106-timer.t TEST 12: ngx.thread API ==19284== Invalid read of size 4
==19284== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19284== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Address 0x49c0ec4 is 20 bytes inside a block of size 52 free'd
==19284== at 0x40285F2: free (vg_replace_malloc.c:530)
==19284== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19284== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19284== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19284== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19284== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Block was alloc'd at
==19284== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19284== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19284== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19284== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19284== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19284== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==19284== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==19284== Invalid read of size 4
==19284== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19284== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Address 0x49c0f80 is 48 bytes inside a block of size 52 free'd
==19284== at 0x40285F2: free (vg_replace_malloc.c:530)
==19284== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19284== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19284== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19284== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19284== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Block was alloc'd at
==19284== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19284== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19284== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19284== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19284== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19284== by 0x813CF5F: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085)
==19284== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==19284== Invalid read of size 4
==19284== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19284== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Address 0x49c101c is 44 bytes inside a block of size 200 free'd
==19284== at 0x40285F2: free (vg_replace_malloc.c:530)
==19284== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19284== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19284== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19284== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19284== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Block was alloc'd at
==19284== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19284== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19284== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19284== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19284== by 0x8158029: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19284== by 0x8158029: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==19284== Invalid read of size 4
==19284== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19284== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19284== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Address 0x49c1034 is 68 bytes inside a block of size 200 free'd
==19284== at 0x40285F2: free (vg_replace_malloc.c:530)
==19284== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19284== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19284== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19284== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19284== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Block was alloc'd at
==19284== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19284== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19284== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19284== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19284== by 0x8158029: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19284== by 0x8158029: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==19284== Invalid read of size 4
==19284== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19284== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Address 0x49c0eb4 is 4 bytes inside a block of size 52 free'd
==19284== at 0x40285F2: free (vg_replace_malloc.c:530)
==19284== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19284== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19284== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19284== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19284== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Block was alloc'd at
==19284== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19284== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19284== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19284== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19284== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19284== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==19284== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==19284== Invalid read of size 4
==19284== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Address 0x49c0eb4 is 4 bytes inside a block of size 52 free'd
==19284== at 0x40285F2: free (vg_replace_malloc.c:530)
==19284== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19284== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19284== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19284== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19284== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Block was alloc'd at
==19284== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19284== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19284== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19284== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19284== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19284== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==19284== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==19284== Invalid read of size 4
==19284== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Address 0x49c0e20 is 0 bytes inside a block of size 40 free'd
==19284== at 0x40285F2: free (vg_replace_malloc.c:530)
==19284== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19284== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19284== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19284== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19284== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Block was alloc'd at
==19284== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19284== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19284== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19284== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19284== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19284== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19284== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==19284== Invalid read of size 4
==19284== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==19284== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Address 0x49c0e28 is 8 bytes inside a block of size 40 free'd
==19284== at 0x40285F2: free (vg_replace_malloc.c:530)
==19284== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19284== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19284== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19284== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19284== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Block was alloc'd at
==19284== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19284== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19284== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19284== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19284== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19284== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19284== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==19284== Invalid read of size 4
==19284== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==19284== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Address 0x49c0e20 is 0 bytes inside a block of size 40 free'd
==19284== at 0x40285F2: free (vg_replace_malloc.c:530)
==19284== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19284== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19284== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19284== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19284== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Block was alloc'd at
==19284== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19284== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19284== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19284== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19284== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19284== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19284== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==19284== Invalid read of size 4
==19284== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==19284== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Address 0x49c0e20 is 0 bytes inside a block of size 40 free'd
==19284== at 0x40285F2: free (vg_replace_malloc.c:530)
==19284== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19284== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19284== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19284== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19284== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Block was alloc'd at
==19284== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19284== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19284== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19284== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19284== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19284== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19284== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==19284== Invalid read of size 4
==19284== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==19284== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Address 0x49c0e38 is 24 bytes inside a block of size 40 free'd
==19284== at 0x40285F2: free (vg_replace_malloc.c:530)
==19284== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19284== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19284== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19284== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19284== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Block was alloc'd at
==19284== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19284== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19284== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19284== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19284== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19284== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19284== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==19284== Invalid read of size 4
==19284== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==19284== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Address 0x49c0e2c is 12 bytes inside a block of size 40 free'd
==19284== at 0x40285F2: free (vg_replace_malloc.c:530)
==19284== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19284== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19284== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19284== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19284== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Block was alloc'd at
==19284== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19284== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19284== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19284== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19284== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19284== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19284== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==19284== Invalid read of size 4
==19284== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==19284== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Address 0x49c0e24 is 4 bytes inside a block of size 40 free'd
==19284== at 0x40285F2: free (vg_replace_malloc.c:530)
==19284== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19284== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19284== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19284== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19284== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Block was alloc'd at
==19284== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19284== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19284== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19284== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19284== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19284== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19284== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==19284== Invalid read of size 4
==19284== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==19284== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Address 0x49c0e24 is 4 bytes inside a block of size 40 free'd
==19284== at 0x40285F2: free (vg_replace_malloc.c:530)
==19284== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19284== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19284== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19284== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19284== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Block was alloc'd at
==19284== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19284== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19284== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19284== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19284== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19284== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19284== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==19284== Invalid read of size 4
==19284== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==19284== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Address 0x49c0e44 is 36 bytes inside a block of size 40 free'd
==19284== at 0x40285F2: free (vg_replace_malloc.c:530)
==19284== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19284== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19284== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19284== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19284== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19284== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19284== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284== Block was alloc'd at
==19284== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19284== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19284== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19284== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19284== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19284== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19284== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19284== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19284== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19284== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19284== by 0x805E931: main (nginx.c:364)
==19284==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==19551== Invalid read of size 4
==19551== at 0x813D50A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19551== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Address 0x49c0ec4 is 20 bytes inside a block of size 52 free'd
==19551== at 0x40285F2: free (vg_replace_malloc.c:530)
==19551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19551== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19551== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19551== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19551== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Block was alloc'd at
==19551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19551== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==19551== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==19551== Invalid read of size 4
==19551== at 0x813D513: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==19551== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Address 0x49c0f80 is 48 bytes inside a block of size 52 free'd
==19551== at 0x40285F2: free (vg_replace_malloc.c:530)
==19551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19551== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19551== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19551== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19551== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Block was alloc'd at
==19551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19551== by 0x813CF5F: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085)
==19551== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==19551== Invalid read of size 4
==19551== at 0x813D51A: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==19551== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Address 0x49c101c is 44 bytes inside a block of size 200 free'd
==19551== at 0x40285F2: free (vg_replace_malloc.c:530)
==19551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19551== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19551== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19551== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19551== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Block was alloc'd at
==19551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19551== by 0x8158029: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19551== by 0x8158029: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==19551== Invalid read of size 4
==19551== at 0x813D521: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==19551== by 0x813D521: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==19551== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Address 0x49c1034 is 68 bytes inside a block of size 200 free'd
==19551== at 0x40285F2: free (vg_replace_malloc.c:530)
==19551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19551== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19551== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19551== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19551== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Block was alloc'd at
==19551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19551== by 0x8158029: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==19551== by 0x8158029: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==19551== Invalid read of size 4
==19551== at 0x813D534: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==19551== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Address 0x49c0eb4 is 4 bytes inside a block of size 52 free'd
==19551== at 0x40285F2: free (vg_replace_malloc.c:530)
==19551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19551== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19551== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19551== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19551== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Block was alloc'd at
==19551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19551== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==19551== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==19551== Invalid read of size 4
==19551== at 0x813B43E: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Address 0x49c0eb4 is 4 bytes inside a block of size 52 free'd
==19551== at 0x40285F2: free (vg_replace_malloc.c:530)
==19551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19551== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19551== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19551== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19551== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Block was alloc'd at
==19551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19551== by 0x813CF42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==19551== by 0x8157FA9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==19551== Invalid read of size 4
==19551== at 0x813B444: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Address 0x49c0e20 is 0 bytes inside a block of size 40 free'd
==19551== at 0x40285F2: free (vg_replace_malloc.c:530)
==19551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19551== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19551== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19551== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19551== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Block was alloc'd at
==19551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19551== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19551== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==19551== Invalid read of size 4
==19551== at 0x805F298: ngx_log_error_core (ngx_log.c:126)
==19551== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Address 0x49c0e28 is 8 bytes inside a block of size 40 free'd
==19551== at 0x40285F2: free (vg_replace_malloc.c:530)
==19551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19551== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19551== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19551== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19551== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Block was alloc'd at
==19551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19551== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19551== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==19551== Invalid read of size 4
==19551== at 0x805F346: ngx_log_error_core (ngx_log.c:159)
==19551== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Address 0x49c0e20 is 0 bytes inside a block of size 40 free'd
==19551== at 0x40285F2: free (vg_replace_malloc.c:530)
==19551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19551== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19551== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19551== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19551== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Block was alloc'd at
==19551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19551== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19551== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==19551== Invalid read of size 4
==19551== at 0x805F366: ngx_log_error_core (ngx_log.c:163)
==19551== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Address 0x49c0e20 is 0 bytes inside a block of size 40 free'd
==19551== at 0x40285F2: free (vg_replace_malloc.c:530)
==19551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19551== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19551== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19551== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19551== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Block was alloc'd at
==19551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19551== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19551== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==19551== Invalid read of size 4
==19551== at 0x805F371: ngx_log_error_core (ngx_log.c:167)
==19551== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Address 0x49c0e38 is 24 bytes inside a block of size 40 free'd
==19551== at 0x40285F2: free (vg_replace_malloc.c:530)
==19551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19551== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19551== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19551== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19551== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Block was alloc'd at
==19551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19551== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19551== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==19551== Invalid read of size 4
==19551== at 0x805F392: ngx_log_error_core (ngx_log.c:172)
==19551== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Address 0x49c0e2c is 12 bytes inside a block of size 40 free'd
==19551== at 0x40285F2: free (vg_replace_malloc.c:530)
==19551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19551== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19551== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19551== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19551== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Block was alloc'd at
==19551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19551== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19551== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==19551== Invalid read of size 4
==19551== at 0x805F39F: ngx_log_error_core (ngx_log.c:183)
==19551== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Address 0x49c0e24 is 4 bytes inside a block of size 40 free'd
==19551== at 0x40285F2: free (vg_replace_malloc.c:530)
==19551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19551== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19551== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19551== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19551== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Block was alloc'd at
==19551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19551== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19551== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==19551== Invalid read of size 4
==19551== at 0x805F3C5: ngx_log_error_core (ngx_log.c:189)
==19551== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Address 0x49c0e24 is 4 bytes inside a block of size 40 free'd
==19551== at 0x40285F2: free (vg_replace_malloc.c:530)
==19551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19551== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19551== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19551== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19551== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Block was alloc'd at
==19551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19551== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19551== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==19551== Invalid read of size 4
==19551== at 0x805F3D9: ngx_log_error_core (ngx_log.c:195)
==19551== by 0x813B46F: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x81582E9: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Address 0x49c0e44 is 36 bytes inside a block of size 40 free'd
==19551== at 0x40285F2: free (vg_replace_malloc.c:530)
==19551== by 0x805FE54: ngx_destroy_pool (ngx_palloc.c:79)
==19551== by 0x813B403: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==19551== by 0x813B421: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==19551== by 0x813B581: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==19551== by 0x813DAF0: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==19551== by 0x813DB87: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==19551== by 0x81582DD: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551== Block was alloc'd at
==19551== at 0x4029679: malloc (vg_replace_malloc.c:299)
==19551== by 0x80808E6: ngx_alloc (ngx_alloc.c:22)
==19551== by 0x805FCBF: ngx_malloc (ngx_palloc.c:140)
==19551== by 0x805FEDD: ngx_palloc (ngx_palloc.c:123)
==19551== by 0x806001E: ngx_pcalloc (ngx_palloc.c:218)
==19551== by 0x813CEE0: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==19551== by 0x8157F76: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==19551== by 0x807D19C: ngx_event_expire_timers (ngx_event_timer.c:97)
==19551== by 0x807CD62: ngx_process_events_and_timers (ngx_event.c:256)
==19551== by 0x8085DF5: ngx_single_process_cycle (ngx_process_cycle.c:309)
==19551== by 0x805E931: main (nginx.c:364)
==19551==
{
<insert_a_suppression_name_here>
Memcheck:Addr4
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1 @@
-failed to kill main thread: not user thread
+f-failed to kill user thread: killer not parent
-thread created: zombie
'
127-uthread-kill.t TEST 6: kill self - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1 @@
-failed to kill main thread: not user thread
+f-failed to kill user thread: killer not parent
-thread created: zombie
'
127-uthread-kill.t TEST 1: kill pending sleep - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1 @@
-hello from f()
+h-thread created: running
-killed
-failed to kill thread: already waited or killed
'
127-uthread-kill.t TEST 1: kill pending sleep - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1 @@
-hello from f()
+h-thread created: running
-killed
-failed to kill thread: already waited or killed
'
127-uthread-kill.t TEST 5: kill a thread already terminated - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-thread created: zombie
+t-failed to kill thread: already terminated
'
127-uthread-kill.t TEST 5: kill a thread already terminated - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1 @@
-thread created: zombie
+t-failed to kill thread: already terminated
'
127-uthread-kill.t TEST 3: kill pending resolver - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1 @@
-thread created: running
+t-killed
'
127-uthread-kill.t TEST 3: kill pending resolver - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1 @@
-thread created: running
+t-killed
'
128-duplex-tcp-socket.t TEST 5: concurrent socket operations while connecting - response_body - response is expected (repeated req 0, req 0) @@ -4,5 +4,5 @@
getreusedtimes: 0 nil
setkeepalive: nil socket busy connecting
connect: nil socket busy connecting
-connect: nil timeout
+connect: nil connection refused
close: nil closed
'
128-duplex-tcp-socket.t TEST 5: concurrent socket operations while connecting - response_body - response is expected (repeated req 1, req 0) @@ -4,5 +4,5 @@
getreusedtimes: 0 nil
setkeepalive: nil socket busy connecting
connect: nil socket busy connecting
-connect: nil timeout
+connect: nil connection refused
close: nil closed
'

Expected Failures

File Name Details
005-exit.t TEST 2: throw error after sending the header and partial body - response_body - response is expected (repeated req 0, req 0) got: 'h'
expected: 'hi
'
005-exit.t TEST 2: throw error after sending the header and partial body - response_body - response is expected (repeated req 1, req 0) got: 'h'
expected: 'hi
'
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2016/10/29 23:22:47 [debug] 10805\#0: stream lua tcp socket keepalive max idle timeout" (req 0)
025-codecache.t TEST 22: cosocket connection pool timeout (after Lua VM destroys) - pattern "stream lua tcp socket keepalive max idle timeout" should not match any line in error.log but matches line "2016/10/29 23:22:47 [debug] 10805\#0: stream lua tcp socket keepalive max idle timeout" (req 1)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2016/10/29 23:23:49 [debug] 11025\#0: stream lua decrementing the reference count for Lua VM: 3" (req 0)
025-codecache.t TEST 17: lua_max_pending_timers - chained timers (non-zero delay) - not exceeding - pattern "stream lua decrementing the reference count for Lua VM: 3" should not match any line in error.log but matches line "2016/10/29 23:23:49 [debug] 11025\#0: stream lua decrementing the reference count for Lua VM: 3" (req 1)
058-tcp-socket.t TEST 27: send tables of string fragments (bad type "boolean") - response_body - response is expected (repeated req 0, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 27: send tables of string fragments (bad type "boolean") - response_body - response is expected (repeated req 1, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 28: send tables of string fragments (bad type ngx.null) - response_body - response is expected (repeated req 0, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 28: send tables of string fragments (bad type ngx.null) - response_body - response is expected (repeated req 1, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 26: send tables of string fragments (bad type "nil") - response_body - response is expected (repeated req 0, req 0) got: 'c'
expected: 'connected: 1
'
058-tcp-socket.t TEST 26: send tables of string fragments (bad type "nil") - response_body - response is expected (repeated req 1, req 0) got: 'c'
expected: 'connected: 1
'
067-req-socket.t TEST 9: successful reread after reading timeout happens (receive -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 11
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received: err: timeout, partial:
'
067-req-socket.t TEST 9: successful reread after reading timeout happens (receive -> receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 11
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received: err: timeout, partial:
'
067-req-socket.t TEST 10: successful reread after reading timeout happens (receive -> receiveuntil) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
067-req-socket.t TEST 10: successful reread after reading timeout happens (receive -> receiveuntil) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
067-req-socket.t TEST 11: successful reread after reading timeout happens (receiveuntil -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
067-req-socket.t TEST 11: successful reread after reading timeout happens (receiveuntil -> receive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,4 @@
sent: 65
sent: 12
-received: err: timeout, partial: abc
+received: err: timeout, partial: abchello world
-received: received: hello world
+received:
'
100-client-abort.t TEST 17: ngx.print - pattern "print failed: broken pipe" should match a line in error.log (req 0)
100-client-abort.t TEST 17: ngx.print - pattern "print failed: broken pipe" should match a line in error.log (req 1)
100-client-abort.t TEST 16: ngx.say - pattern "say failed: broken pipe" should match a line in error.log (req 0)
100-client-abort.t TEST 16: ngx.say - pattern "say failed: broken pipe" should match a line in error.log (req 1)
100-client-abort.t TEST 18: ngx.flush - pattern "flush succeeded" should match a line in error.log (req 0)
100-client-abort.t TEST 18: ngx.flush - pattern "flush succeeded" should match a line in error.log (req 1)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua_block\(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 27: user args - pattern "(?^:\[lua\] content_by_lua_block\(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 1: simple at - pattern "(?^:\[lua\] content_by_lua_block\(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 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua_block\(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 2: separated global env - pattern "(?^:\[lua\] content_by_lua_block\(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_block\(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_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[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: 'stream lua found 8188 pending timers
'
expected: 'stream 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: 'stream lua found 8190 pending timers
'
expected: 'stream lua found 8191 pending timers
'
126-shdict-frag.t TEST 9: cannot merge in-used big slabs page (forward) - response_body - response is expected (repeated req 0, req 0) @@ -2,4 +2,4 @@
failed to safe set baz: no memory
found bar: 4000
delete bar
-failed to safe set baz: no memory
+successfully safe set baz
'
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] unexpected lua closing long-bracket in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] "http" directive is not allowed here in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:28

Warnings

Go back to the index page.