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

Detailed Test Report for ngx_stream_lua in linux x86_64 (v)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
75e0b161 2016-08-29 23:41:15 GMT 390 15 94 7554 2549 sec

LuaJIT

LuaJIT 2.1.0-beta2, commit d40ca26

Compilation Errors

Unexpected Failures

File Name Details
093-uthread-spawn.t TEST 5: error in user thread ==3284== Invalid read of size 8
==3284== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3284== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Address 0x810c100 is 32 bytes inside a block of size 96 free'd
==3284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3284== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3284== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3284== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3284== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3284== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3284== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3284== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3284== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3284== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Block was alloc'd at
==3284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3284== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3284== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3284== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3284== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3284== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==3284== Invalid read of size 8
==3284== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3284== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Address 0x810c2c0 is 96 bytes inside a block of size 104 free'd
==3284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3284== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3284== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3284== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3284== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3284== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3284== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3284== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3284== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3284== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Block was alloc'd at
==3284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3284== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3284== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3284== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3284== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3284== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==3284== Invalid read of size 8
==3284== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3284== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Address 0x810c3b0 is 80 bytes inside a block of size 368 free'd
==3284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3284== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3284== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3284== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3284== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3284== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3284== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3284== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3284== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3284== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Block was alloc'd at
==3284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3284== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3284== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3284== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3284== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3284== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==3284== Invalid read of size 8
==3284== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3284== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3284== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Address 0x810c3e0 is 128 bytes inside a block of size 368 free'd
==3284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3284== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3284== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3284== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3284== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3284== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3284== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3284== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3284== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3284== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Block was alloc'd at
==3284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3284== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3284== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3284== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3284== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3284== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==3284== Invalid read of size 8
==3284== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3284== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Address 0x810c0e8 is 8 bytes inside a block of size 96 free'd
==3284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3284== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3284== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3284== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3284== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3284== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3284== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3284== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3284== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3284== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Block was alloc'd at
==3284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3284== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3284== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3284== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3284== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3284== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==3284== Invalid read of size 8
==3284== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3284== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3284== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Address 0x810c0e8 is 8 bytes inside a block of size 96 free'd
==3284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3284== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3284== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3284== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3284== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3284== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3284== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3284== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3284== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3284== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Block was alloc'd at
==3284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3284== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3284== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3284== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3284== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3284== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==3284== Invalid read of size 8
==3284== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3284== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3284== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Address 0x810bf60 is 0 bytes inside a block of size 80 free'd
==3284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3284== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3284== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3284== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3284== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3284== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3284== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3284== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3284== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3284== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Block was alloc'd at
==3284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3284== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3284== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3284== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3284== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==3284== Invalid read of size 8
==3284== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3284== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3284== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3284== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Address 0x810bf70 is 16 bytes inside a block of size 80 free'd
==3284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3284== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3284== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3284== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3284== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3284== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3284== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3284== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3284== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3284== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Block was alloc'd at
==3284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3284== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3284== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3284== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3284== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==3284== Invalid read of size 8
==3284== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3284== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3284== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3284== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Address 0x810bf60 is 0 bytes inside a block of size 80 free'd
==3284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3284== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3284== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3284== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3284== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3284== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3284== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3284== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3284== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3284== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Block was alloc'd at
==3284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3284== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3284== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3284== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3284== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==3284== Invalid read of size 8
==3284== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3284== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3284== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3284== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Address 0x810bf60 is 0 bytes inside a block of size 80 free'd
==3284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3284== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3284== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3284== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3284== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3284== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3284== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3284== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3284== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3284== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Block was alloc'd at
==3284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3284== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3284== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3284== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3284== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==3284== Invalid read of size 8
==3284== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3284== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3284== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3284== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Address 0x810bf90 is 48 bytes inside a block of size 80 free'd
==3284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3284== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3284== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3284== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3284== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3284== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3284== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3284== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3284== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3284== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Block was alloc'd at
==3284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3284== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3284== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3284== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3284== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==3284== Invalid read of size 8
==3284== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3284== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3284== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3284== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Address 0x810bf78 is 24 bytes inside a block of size 80 free'd
==3284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3284== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3284== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3284== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3284== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3284== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3284== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3284== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3284== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3284== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Block was alloc'd at
==3284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3284== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3284== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3284== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3284== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==3284== Invalid read of size 8
==3284== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3284== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3284== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3284== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Address 0x810bf68 is 8 bytes inside a block of size 80 free'd
==3284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3284== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3284== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3284== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3284== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3284== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3284== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3284== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3284== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3284== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Block was alloc'd at
==3284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3284== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3284== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3284== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3284== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==3284== Invalid read of size 8
==3284== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3284== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3284== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3284== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Address 0x810bf68 is 8 bytes inside a block of size 80 free'd
==3284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3284== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3284== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3284== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3284== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3284== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3284== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3284== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3284== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3284== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Block was alloc'd at
==3284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3284== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3284== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3284== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3284== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==3284== Invalid read of size 8
==3284== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3284== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3284== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3284== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Address 0x810bfa8 is 72 bytes inside a block of size 80 free'd
==3284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3284== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3284== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3284== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3284== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3284== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3284== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3284== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3284== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3284== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3284== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3284== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3284== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284== Block was alloc'd at
==3284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3284== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3284== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3284== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3284== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3284== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3284== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3284== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3284== by 0x41B68E: main (nginx.c:364)
==3284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==3306== Invalid read of size 8
==3306== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3306== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Address 0x810c3d0 is 32 bytes inside a block of size 96 free'd
==3306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3306== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3306== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3306== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3306== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3306== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3306== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3306== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3306== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3306== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Block was alloc'd at
==3306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3306== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3306== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3306== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3306== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3306== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==3306== Invalid read of size 8
==3306== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3306== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Address 0x810c590 is 96 bytes inside a block of size 104 free'd
==3306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3306== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3306== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3306== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3306== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3306== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3306== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3306== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3306== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3306== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Block was alloc'd at
==3306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3306== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3306== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3306== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3306== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3306== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==3306== Invalid read of size 8
==3306== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3306== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Address 0x810c680 is 80 bytes inside a block of size 368 free'd
==3306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3306== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3306== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3306== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3306== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3306== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3306== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3306== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3306== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3306== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Block was alloc'd at
==3306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3306== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3306== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3306== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3306== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3306== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==3306== Invalid read of size 8
==3306== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3306== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3306== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Address 0x810e5c0 is 32 bytes inside a block of size 672 free'd
==3306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3306== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3306== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3306== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3306== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3306== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3306== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3306== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3306== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3306== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Block was alloc'd at
==3306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3306== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3306== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3306== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3306== by 0x41D3C5: ngx_list_init (ngx_list.h:39)
==3306== by 0x41D3C5: ngx_list_create (ngx_list.c:22)
==3306== by 0x4F652E: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==3306== by 0x5021F5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==3306== by 0x501842: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==3306== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==3306== by 0x4F5830: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==3306== by 0x4F3AE5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==3306== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3306== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==3306== Invalid read of size 8
==3306== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3306== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Address 0x810c3b8 is 8 bytes inside a block of size 96 free'd
==3306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3306== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3306== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3306== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3306== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3306== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3306== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3306== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3306== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3306== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Block was alloc'd at
==3306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3306== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3306== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3306== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3306== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3306== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==3306== Invalid read of size 8
==3306== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3306== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3306== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Address 0x810c3b8 is 8 bytes inside a block of size 96 free'd
==3306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3306== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3306== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3306== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3306== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3306== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3306== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3306== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3306== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3306== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Block was alloc'd at
==3306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3306== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3306== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3306== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3306== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3306== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==3306== Invalid read of size 8
==3306== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3306== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3306== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Address 0x810c230 is 0 bytes inside a block of size 80 free'd
==3306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3306== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3306== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3306== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3306== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3306== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3306== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3306== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3306== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3306== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Block was alloc'd at
==3306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3306== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3306== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3306== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3306== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==3306== Invalid read of size 8
==3306== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3306== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3306== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3306== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Address 0x810c240 is 16 bytes inside a block of size 80 free'd
==3306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3306== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3306== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3306== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3306== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3306== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3306== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3306== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3306== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3306== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Block was alloc'd at
==3306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3306== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3306== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3306== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3306== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==3306== Invalid read of size 8
==3306== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3306== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3306== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3306== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Address 0x810c230 is 0 bytes inside a block of size 80 free'd
==3306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3306== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3306== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3306== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3306== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3306== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3306== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3306== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3306== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3306== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Block was alloc'd at
==3306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3306== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3306== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3306== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3306== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==3306== Invalid read of size 8
==3306== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3306== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3306== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3306== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Address 0x810c230 is 0 bytes inside a block of size 80 free'd
==3306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3306== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3306== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3306== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3306== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3306== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3306== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3306== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3306== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3306== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Block was alloc'd at
==3306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3306== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3306== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3306== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3306== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==3306== Invalid read of size 8
==3306== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3306== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3306== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3306== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Address 0x810c260 is 48 bytes inside a block of size 80 free'd
==3306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3306== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3306== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3306== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3306== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3306== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3306== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3306== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3306== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3306== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Block was alloc'd at
==3306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3306== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3306== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3306== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3306== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==3306== Invalid read of size 8
==3306== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3306== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3306== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3306== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Address 0x810c248 is 24 bytes inside a block of size 80 free'd
==3306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3306== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3306== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3306== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3306== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3306== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3306== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3306== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3306== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3306== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Block was alloc'd at
==3306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3306== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3306== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3306== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3306== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==3306== Invalid read of size 8
==3306== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3306== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3306== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3306== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Address 0x810c238 is 8 bytes inside a block of size 80 free'd
==3306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3306== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3306== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3306== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3306== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3306== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3306== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3306== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3306== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3306== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Block was alloc'd at
==3306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3306== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3306== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3306== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3306== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==3306== Invalid read of size 8
==3306== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3306== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3306== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3306== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Address 0x810c238 is 8 bytes inside a block of size 80 free'd
==3306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3306== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3306== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3306== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3306== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3306== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3306== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3306== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3306== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3306== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Block was alloc'd at
==3306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3306== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3306== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3306== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3306== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==3306== Invalid read of size 8
==3306== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3306== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3306== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3306== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Address 0x810c278 is 72 bytes inside a block of size 80 free'd
==3306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3306== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3306== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3306== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3306== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3306== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3306== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3306== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3306== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3306== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3306== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3306== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3306== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306== Block was alloc'd at
==3306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3306== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3306== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3306== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3306== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3306== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3306== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3306== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3306== by 0x41B68E: main (nginx.c:364)
==3306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==3328== Invalid read of size 8
==3328== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3328== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Address 0x810c2a0 is 32 bytes inside a block of size 96 free'd
==3328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3328== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3328== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3328== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3328== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3328== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3328== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3328== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3328== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3328== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Block was alloc'd at
==3328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3328== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3328== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3328== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3328== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3328== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==3328== Invalid read of size 8
==3328== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3328== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Address 0x810c460 is 96 bytes inside a block of size 104 free'd
==3328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3328== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3328== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3328== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3328== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3328== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3328== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3328== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3328== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3328== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Block was alloc'd at
==3328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3328== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3328== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3328== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3328== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3328== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==3328== Invalid read of size 8
==3328== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3328== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Address 0x810c550 is 80 bytes inside a block of size 368 free'd
==3328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3328== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3328== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3328== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3328== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3328== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3328== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3328== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3328== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3328== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Block was alloc'd at
==3328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3328== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3328== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3328== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3328== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3328== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==3328== Invalid read of size 8
==3328== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3328== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3328== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Address 0x810c580 is 128 bytes inside a block of size 368 free'd
==3328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3328== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3328== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3328== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3328== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3328== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3328== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3328== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3328== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3328== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Block was alloc'd at
==3328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3328== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3328== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3328== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3328== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3328== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==3328== Invalid read of size 8
==3328== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3328== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Address 0x810c288 is 8 bytes inside a block of size 96 free'd
==3328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3328== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3328== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3328== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3328== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3328== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3328== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3328== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3328== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3328== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Block was alloc'd at
==3328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3328== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3328== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3328== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3328== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3328== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==3328== Invalid read of size 8
==3328== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3328== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3328== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Address 0x810c288 is 8 bytes inside a block of size 96 free'd
==3328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3328== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3328== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3328== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3328== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3328== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3328== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3328== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3328== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3328== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Block was alloc'd at
==3328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3328== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3328== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3328== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3328== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3328== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==3328== Invalid read of size 8
==3328== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3328== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3328== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Address 0x810c100 is 0 bytes inside a block of size 80 free'd
==3328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3328== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3328== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3328== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3328== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3328== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3328== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3328== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3328== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3328== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Block was alloc'd at
==3328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3328== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3328== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3328== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3328== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==3328== Invalid read of size 8
==3328== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3328== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3328== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3328== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Address 0x810c110 is 16 bytes inside a block of size 80 free'd
==3328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3328== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3328== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3328== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3328== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3328== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3328== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3328== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3328== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3328== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Block was alloc'd at
==3328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3328== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3328== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3328== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3328== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==3328== Invalid read of size 8
==3328== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3328== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3328== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3328== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Address 0x810c100 is 0 bytes inside a block of size 80 free'd
==3328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3328== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3328== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3328== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3328== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3328== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3328== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3328== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3328== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3328== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Block was alloc'd at
==3328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3328== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3328== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3328== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3328== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==3328== Invalid read of size 8
==3328== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3328== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3328== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3328== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Address 0x810c100 is 0 bytes inside a block of size 80 free'd
==3328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3328== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3328== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3328== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3328== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3328== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3328== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3328== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3328== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3328== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Block was alloc'd at
==3328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3328== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3328== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3328== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3328== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==3328== Invalid read of size 8
==3328== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3328== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3328== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3328== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Address 0x810c130 is 48 bytes inside a block of size 80 free'd
==3328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3328== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3328== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3328== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3328== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3328== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3328== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3328== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3328== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3328== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Block was alloc'd at
==3328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3328== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3328== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3328== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3328== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==3328== Invalid read of size 8
==3328== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3328== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3328== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3328== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Address 0x810c118 is 24 bytes inside a block of size 80 free'd
==3328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3328== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3328== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3328== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3328== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3328== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3328== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3328== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3328== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3328== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Block was alloc'd at
==3328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3328== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3328== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3328== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3328== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==3328== Invalid read of size 8
==3328== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3328== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3328== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3328== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Address 0x810c108 is 8 bytes inside a block of size 80 free'd
==3328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3328== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3328== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3328== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3328== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3328== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3328== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3328== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3328== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3328== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Block was alloc'd at
==3328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3328== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3328== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3328== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3328== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==3328== Invalid read of size 8
==3328== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3328== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3328== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3328== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Address 0x810c108 is 8 bytes inside a block of size 80 free'd
==3328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3328== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3328== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3328== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3328== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3328== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3328== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3328== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3328== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3328== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Block was alloc'd at
==3328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3328== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3328== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3328== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3328== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==3328== Invalid read of size 8
==3328== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3328== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3328== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3328== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Address 0x810c148 is 72 bytes inside a block of size 80 free'd
==3328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3328== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3328== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3328== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3328== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3328== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3328== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3328== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3328== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3328== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3328== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3328== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3328== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328== Block was alloc'd at
==3328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3328== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3328== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3328== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3328== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3328== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3328== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3328== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3328== by 0x41B68E: main (nginx.c:364)
==3328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==3339== Invalid read of size 8
==3339== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3339== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Address 0x810cd70 is 32 bytes inside a block of size 96 free'd
==3339== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3339== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3339== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3339== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3339== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3339== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3339== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3339== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3339== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3339== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Block was alloc'd at
==3339== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3339== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3339== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3339== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3339== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3339== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==3339== Invalid read of size 8
==3339== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3339== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Address 0x810cf30 is 96 bytes inside a block of size 104 free'd
==3339== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3339== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3339== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3339== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3339== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3339== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3339== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3339== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3339== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3339== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Block was alloc'd at
==3339== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3339== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3339== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3339== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3339== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3339== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==3339== Invalid read of size 8
==3339== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3339== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Address 0x810d020 is 80 bytes inside a block of size 368 free'd
==3339== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3339== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3339== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3339== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3339== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3339== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3339== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3339== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3339== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3339== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Block was alloc'd at
==3339== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3339== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3339== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3339== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3339== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3339== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==3339== Invalid read of size 8
==3339== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3339== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3339== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Address 0x810d050 is 128 bytes inside a block of size 368 free'd
==3339== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3339== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3339== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3339== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3339== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3339== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3339== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3339== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3339== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3339== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Block was alloc'd at
==3339== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3339== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3339== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3339== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3339== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3339== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==3339== Invalid read of size 8
==3339== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3339== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Address 0x810cd58 is 8 bytes inside a block of size 96 free'd
==3339== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3339== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3339== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3339== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3339== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3339== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3339== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3339== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3339== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3339== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Block was alloc'd at
==3339== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3339== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3339== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3339== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3339== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3339== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==3339== Invalid read of size 8
==3339== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3339== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3339== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Address 0x810cd58 is 8 bytes inside a block of size 96 free'd
==3339== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3339== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3339== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3339== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3339== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3339== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3339== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3339== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3339== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3339== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Block was alloc'd at
==3339== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3339== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3339== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3339== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3339== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3339== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==3339== Invalid read of size 8
==3339== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3339== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3339== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Address 0x810cbd0 is 0 bytes inside a block of size 80 free'd
==3339== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3339== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3339== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3339== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3339== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3339== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3339== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3339== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3339== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3339== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Block was alloc'd at
==3339== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3339== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3339== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3339== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3339== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==3339== Invalid read of size 8
==3339== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3339== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3339== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3339== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Address 0x810cbe0 is 16 bytes inside a block of size 80 free'd
==3339== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3339== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3339== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3339== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3339== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3339== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3339== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3339== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3339== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3339== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Block was alloc'd at
==3339== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3339== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3339== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3339== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3339== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==3339== Invalid read of size 8
==3339== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3339== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3339== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3339== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Address 0x810cbd0 is 0 bytes inside a block of size 80 free'd
==3339== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3339== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3339== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3339== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3339== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3339== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3339== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3339== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3339== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3339== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Block was alloc'd at
==3339== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3339== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3339== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3339== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3339== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==3339== Invalid read of size 8
==3339== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3339== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3339== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3339== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Address 0x810cbd0 is 0 bytes inside a block of size 80 free'd
==3339== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3339== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3339== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3339== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3339== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3339== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3339== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3339== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3339== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3339== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Block was alloc'd at
==3339== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3339== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3339== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3339== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3339== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==3339== Invalid read of size 8
==3339== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3339== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3339== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3339== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Address 0x810cc00 is 48 bytes inside a block of size 80 free'd
==3339== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3339== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3339== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3339== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3339== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3339== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3339== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3339== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3339== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3339== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Block was alloc'd at
==3339== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3339== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3339== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3339== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3339== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==3339== Invalid read of size 8
==3339== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3339== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3339== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3339== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Address 0x810cbe8 is 24 bytes inside a block of size 80 free'd
==3339== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3339== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3339== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3339== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3339== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3339== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3339== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3339== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3339== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3339== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Block was alloc'd at
==3339== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3339== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3339== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3339== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3339== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==3339== Invalid read of size 8
==3339== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3339== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3339== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3339== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Address 0x810cbd8 is 8 bytes inside a block of size 80 free'd
==3339== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3339== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3339== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3339== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3339== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3339== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3339== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3339== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3339== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3339== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Block was alloc'd at
==3339== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3339== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3339== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3339== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3339== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==3339== Invalid read of size 8
==3339== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3339== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3339== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3339== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Address 0x810cbd8 is 8 bytes inside a block of size 80 free'd
==3339== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3339== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3339== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3339== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3339== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3339== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3339== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3339== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3339== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3339== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Block was alloc'd at
==3339== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3339== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3339== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3339== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3339== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==3339== Invalid read of size 8
==3339== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3339== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3339== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3339== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Address 0x810cc18 is 72 bytes inside a block of size 80 free'd
==3339== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3339== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3339== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3339== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3339== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3339== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3339== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3339== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3339== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3339== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3339== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3339== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3339== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339== Block was alloc'd at
==3339== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3339== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3339== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3339== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3339== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3339== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3339== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3339== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3339== by 0x41B68E: main (nginx.c:364)
==3339==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==3350== Invalid read of size 8
==3350== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3350== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Address 0x810cb40 is 32 bytes inside a block of size 96 free'd
==3350== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3350== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3350== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3350== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3350== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3350== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3350== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3350== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3350== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3350== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Block was alloc'd at
==3350== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3350== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3350== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3350== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3350== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3350== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==3350== Invalid read of size 8
==3350== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3350== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Address 0x810cd00 is 96 bytes inside a block of size 104 free'd
==3350== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3350== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3350== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3350== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3350== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3350== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3350== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3350== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3350== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3350== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Block was alloc'd at
==3350== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3350== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3350== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3350== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3350== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3350== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==3350== Invalid read of size 8
==3350== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3350== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Address 0x810cdf0 is 80 bytes inside a block of size 368 free'd
==3350== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3350== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3350== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3350== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3350== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3350== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3350== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3350== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3350== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3350== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Block was alloc'd at
==3350== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3350== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3350== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3350== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3350== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3350== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==3350== Invalid read of size 8
==3350== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3350== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3350== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Address 0x810f478 is 200 bytes inside a block of size 672 free'd
==3350== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3350== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3350== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3350== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3350== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3350== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3350== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3350== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3350== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3350== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Block was alloc'd at
==3350== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3350== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3350== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3350== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3350== by 0x41D3C5: ngx_list_init (ngx_list.h:39)
==3350== by 0x41D3C5: ngx_list_create (ngx_list.c:22)
==3350== by 0x4F652E: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==3350== by 0x5021F5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==3350== by 0x501842: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==3350== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==3350== by 0x4F5830: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==3350== by 0x4F3AE5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==3350== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3350== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==3350== Invalid read of size 8
==3350== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3350== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Address 0x810cb28 is 8 bytes inside a block of size 96 free'd
==3350== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3350== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3350== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3350== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3350== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3350== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3350== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3350== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3350== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3350== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Block was alloc'd at
==3350== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3350== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3350== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3350== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3350== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3350== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==3350== Invalid read of size 8
==3350== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3350== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3350== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Address 0x810cb28 is 8 bytes inside a block of size 96 free'd
==3350== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3350== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3350== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3350== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3350== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3350== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3350== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3350== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3350== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3350== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Block was alloc'd at
==3350== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3350== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3350== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3350== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3350== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3350== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==3350== Invalid read of size 8
==3350== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3350== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3350== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Address 0x810c9a0 is 0 bytes inside a block of size 80 free'd
==3350== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3350== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3350== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3350== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3350== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3350== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3350== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3350== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3350== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3350== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Block was alloc'd at
==3350== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3350== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3350== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3350== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3350== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==3350== Invalid read of size 8
==3350== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3350== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3350== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3350== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Address 0x810c9b0 is 16 bytes inside a block of size 80 free'd
==3350== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3350== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3350== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3350== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3350== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3350== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3350== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3350== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3350== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3350== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Block was alloc'd at
==3350== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3350== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3350== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3350== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3350== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==3350== Invalid read of size 8
==3350== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3350== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3350== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3350== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Address 0x810c9a0 is 0 bytes inside a block of size 80 free'd
==3350== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3350== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3350== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3350== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3350== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3350== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3350== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3350== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3350== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3350== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Block was alloc'd at
==3350== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3350== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3350== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3350== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3350== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==3350== Invalid read of size 8
==3350== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3350== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3350== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3350== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Address 0x810c9a0 is 0 bytes inside a block of size 80 free'd
==3350== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3350== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3350== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3350== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3350== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3350== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3350== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3350== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3350== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3350== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Block was alloc'd at
==3350== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3350== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3350== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3350== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3350== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==3350== Invalid read of size 8
==3350== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3350== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3350== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3350== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Address 0x810c9d0 is 48 bytes inside a block of size 80 free'd
==3350== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3350== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3350== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3350== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3350== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3350== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3350== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3350== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3350== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3350== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Block was alloc'd at
==3350== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3350== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3350== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3350== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3350== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==3350== Invalid read of size 8
==3350== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3350== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3350== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3350== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Address 0x810c9b8 is 24 bytes inside a block of size 80 free'd
==3350== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3350== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3350== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3350== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3350== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3350== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3350== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3350== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3350== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3350== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Block was alloc'd at
==3350== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3350== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3350== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3350== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3350== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==3350== Invalid read of size 8
==3350== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3350== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3350== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3350== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Address 0x810c9a8 is 8 bytes inside a block of size 80 free'd
==3350== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3350== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3350== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3350== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3350== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3350== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3350== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3350== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3350== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3350== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Block was alloc'd at
==3350== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3350== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3350== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3350== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3350== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==3350== Invalid read of size 8
==3350== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3350== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3350== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3350== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Address 0x810c9a8 is 8 bytes inside a block of size 80 free'd
==3350== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3350== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3350== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3350== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3350== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3350== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3350== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3350== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3350== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3350== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Block was alloc'd at
==3350== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3350== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3350== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3350== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3350== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==3350== Invalid read of size 8
==3350== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3350== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3350== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3350== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Address 0x810c9e8 is 72 bytes inside a block of size 80 free'd
==3350== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3350== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3350== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3350== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3350== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3350== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3350== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3350== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3350== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3350== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3350== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3350== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3350== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350== Block was alloc'd at
==3350== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3350== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3350== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3350== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3350== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3350== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3350== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3350== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3350== by 0x41B68E: main (nginx.c:364)
==3350==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==3372== Invalid read of size 8
==3372== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3372== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Address 0x810c780 is 32 bytes inside a block of size 96 free'd
==3372== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3372== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3372== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3372== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3372== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3372== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3372== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3372== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3372== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3372== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Block was alloc'd at
==3372== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3372== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3372== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3372== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3372== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3372== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==3372== Invalid read of size 8
==3372== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3372== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Address 0x810c940 is 96 bytes inside a block of size 104 free'd
==3372== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3372== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3372== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3372== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3372== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3372== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3372== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3372== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3372== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3372== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Block was alloc'd at
==3372== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3372== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3372== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3372== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3372== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3372== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==3372== Invalid read of size 8
==3372== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3372== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Address 0x810ca30 is 80 bytes inside a block of size 368 free'd
==3372== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3372== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3372== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3372== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3372== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3372== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3372== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3372== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3372== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3372== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Block was alloc'd at
==3372== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3372== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3372== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3372== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3372== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3372== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==3372== Invalid read of size 8
==3372== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3372== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3372== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Address 0x810ca60 is 128 bytes inside a block of size 368 free'd
==3372== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3372== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3372== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3372== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3372== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3372== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3372== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3372== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3372== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3372== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Block was alloc'd at
==3372== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3372== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3372== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3372== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3372== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3372== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==3372== Invalid read of size 8
==3372== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3372== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Address 0x810c768 is 8 bytes inside a block of size 96 free'd
==3372== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3372== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3372== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3372== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3372== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3372== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3372== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3372== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3372== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3372== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Block was alloc'd at
==3372== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3372== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3372== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3372== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3372== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3372== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==3372== Invalid read of size 8
==3372== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3372== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3372== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Address 0x810c768 is 8 bytes inside a block of size 96 free'd
==3372== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3372== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3372== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3372== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3372== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3372== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3372== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3372== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3372== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3372== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Block was alloc'd at
==3372== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3372== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3372== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3372== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3372== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3372== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==3372== Invalid read of size 8
==3372== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3372== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3372== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Address 0x810c5e0 is 0 bytes inside a block of size 80 free'd
==3372== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3372== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3372== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3372== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3372== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3372== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3372== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3372== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3372== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3372== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Block was alloc'd at
==3372== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3372== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3372== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3372== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3372== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==3372== Invalid read of size 8
==3372== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3372== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3372== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3372== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Address 0x810c5f0 is 16 bytes inside a block of size 80 free'd
==3372== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3372== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3372== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3372== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3372== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3372== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3372== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3372== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3372== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3372== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Block was alloc'd at
==3372== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3372== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3372== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3372== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3372== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==3372== Invalid read of size 8
==3372== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3372== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3372== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3372== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Address 0x810c5e0 is 0 bytes inside a block of size 80 free'd
==3372== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3372== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3372== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3372== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3372== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3372== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3372== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3372== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3372== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3372== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Block was alloc'd at
==3372== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3372== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3372== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3372== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3372== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==3372== Invalid read of size 8
==3372== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3372== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3372== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3372== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Address 0x810c5e0 is 0 bytes inside a block of size 80 free'd
==3372== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3372== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3372== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3372== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3372== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3372== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3372== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3372== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3372== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3372== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Block was alloc'd at
==3372== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3372== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3372== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3372== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3372== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==3372== Invalid read of size 8
==3372== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3372== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3372== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3372== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Address 0x810c610 is 48 bytes inside a block of size 80 free'd
==3372== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3372== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3372== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3372== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3372== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3372== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3372== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3372== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3372== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3372== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Block was alloc'd at
==3372== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3372== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3372== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3372== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3372== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==3372== Invalid read of size 8
==3372== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3372== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3372== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3372== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Address 0x810c5f8 is 24 bytes inside a block of size 80 free'd
==3372== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3372== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3372== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3372== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3372== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3372== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3372== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3372== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3372== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3372== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Block was alloc'd at
==3372== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3372== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3372== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3372== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3372== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==3372== Invalid read of size 8
==3372== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3372== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3372== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3372== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Address 0x810c5e8 is 8 bytes inside a block of size 80 free'd
==3372== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3372== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3372== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3372== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3372== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3372== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3372== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3372== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3372== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3372== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Block was alloc'd at
==3372== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3372== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3372== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3372== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3372== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==3372== Invalid read of size 8
==3372== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3372== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3372== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3372== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Address 0x810c5e8 is 8 bytes inside a block of size 80 free'd
==3372== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3372== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3372== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3372== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3372== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3372== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3372== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3372== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3372== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3372== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Block was alloc'd at
==3372== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3372== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3372== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3372== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3372== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==3372== Invalid read of size 8
==3372== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3372== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3372== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3372== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Address 0x810c628 is 72 bytes inside a block of size 80 free'd
==3372== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3372== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3372== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3372== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3372== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3372== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3372== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3372== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3372== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3372== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3372== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3372== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3372== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372== Block was alloc'd at
==3372== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3372== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3372== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3372== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3372== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3372== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3372== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3372== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3372== by 0x41B68E: main (nginx.c:364)
==3372==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==3405== Invalid read of size 8
==3405== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3405== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Address 0x810c700 is 32 bytes inside a block of size 96 free'd
==3405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3405== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3405== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3405== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3405== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3405== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3405== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3405== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3405== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3405== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Block was alloc'd at
==3405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3405== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3405== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3405== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3405== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3405== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==3405== Invalid read of size 8
==3405== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3405== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Address 0x810c8c0 is 96 bytes inside a block of size 104 free'd
==3405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3405== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3405== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3405== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3405== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3405== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3405== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3405== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3405== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3405== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Block was alloc'd at
==3405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3405== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3405== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3405== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3405== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3405== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==3405== Invalid read of size 8
==3405== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3405== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Address 0x810c9b0 is 80 bytes inside a block of size 368 free'd
==3405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3405== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3405== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3405== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3405== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3405== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3405== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3405== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3405== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3405== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Block was alloc'd at
==3405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3405== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3405== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3405== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3405== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3405== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==3405== Invalid read of size 8
==3405== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3405== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3405== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Address 0x810ead0 is 32 bytes inside a block of size 672 free'd
==3405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3405== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3405== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3405== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3405== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3405== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3405== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3405== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3405== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3405== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Block was alloc'd at
==3405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3405== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3405== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3405== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3405== by 0x41D3C5: ngx_list_init (ngx_list.h:39)
==3405== by 0x41D3C5: ngx_list_create (ngx_list.c:22)
==3405== by 0x4F652E: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==3405== by 0x5021F5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==3405== by 0x501842: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==3405== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==3405== by 0x4F5830: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==3405== by 0x4F3AE5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==3405== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3405== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==3405== Invalid read of size 8
==3405== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3405== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Address 0x810c6e8 is 8 bytes inside a block of size 96 free'd
==3405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3405== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3405== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3405== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3405== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3405== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3405== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3405== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3405== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3405== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Block was alloc'd at
==3405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3405== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3405== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3405== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3405== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3405== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==3405== Invalid read of size 8
==3405== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3405== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3405== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Address 0x810c6e8 is 8 bytes inside a block of size 96 free'd
==3405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3405== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3405== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3405== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3405== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3405== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3405== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3405== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3405== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3405== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Block was alloc'd at
==3405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3405== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3405== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3405== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3405== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3405== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==3405== Invalid read of size 8
==3405== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3405== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3405== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Address 0x810c560 is 0 bytes inside a block of size 80 free'd
==3405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3405== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3405== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3405== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3405== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3405== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3405== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3405== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3405== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3405== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Block was alloc'd at
==3405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3405== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3405== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3405== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3405== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==3405== Invalid read of size 8
==3405== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3405== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3405== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3405== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Address 0x810c570 is 16 bytes inside a block of size 80 free'd
==3405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3405== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3405== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3405== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3405== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3405== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3405== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3405== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3405== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3405== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Block was alloc'd at
==3405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3405== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3405== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3405== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3405== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==3405== Invalid read of size 8
==3405== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3405== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3405== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3405== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Address 0x810c560 is 0 bytes inside a block of size 80 free'd
==3405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3405== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3405== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3405== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3405== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3405== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3405== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3405== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3405== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3405== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Block was alloc'd at
==3405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3405== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3405== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3405== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3405== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==3405== Invalid read of size 8
==3405== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3405== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3405== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3405== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Address 0x810c560 is 0 bytes inside a block of size 80 free'd
==3405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3405== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3405== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3405== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3405== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3405== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3405== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3405== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3405== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3405== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Block was alloc'd at
==3405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3405== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3405== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3405== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3405== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==3405== Invalid read of size 8
==3405== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3405== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3405== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3405== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Address 0x810c590 is 48 bytes inside a block of size 80 free'd
==3405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3405== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3405== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3405== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3405== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3405== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3405== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3405== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3405== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3405== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Block was alloc'd at
==3405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3405== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3405== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3405== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3405== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==3405== Invalid read of size 8
==3405== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3405== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3405== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3405== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Address 0x810c578 is 24 bytes inside a block of size 80 free'd
==3405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3405== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3405== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3405== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3405== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3405== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3405== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3405== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3405== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3405== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Block was alloc'd at
==3405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3405== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3405== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3405== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3405== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==3405== Invalid read of size 8
==3405== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3405== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3405== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3405== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Address 0x810c568 is 8 bytes inside a block of size 80 free'd
==3405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3405== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3405== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3405== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3405== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3405== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3405== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3405== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3405== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3405== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Block was alloc'd at
==3405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3405== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3405== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3405== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3405== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==3405== Invalid read of size 8
==3405== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3405== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3405== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3405== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Address 0x810c568 is 8 bytes inside a block of size 80 free'd
==3405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3405== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3405== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3405== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3405== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3405== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3405== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3405== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3405== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3405== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Block was alloc'd at
==3405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3405== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3405== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3405== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3405== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==3405== Invalid read of size 8
==3405== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3405== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3405== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3405== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Address 0x810c5a8 is 72 bytes inside a block of size 80 free'd
==3405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3405== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3405== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3405== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3405== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3405== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3405== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3405== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3405== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3405== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3405== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3405== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3405== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405== Block was alloc'd at
==3405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3405== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3405== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3405== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3405== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3405== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3405== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3405== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3405== by 0x41B68E: main (nginx.c:364)
==3405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==3416== Invalid read of size 8
==3416== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3416== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Address 0x810cbe0 is 32 bytes inside a block of size 96 free'd
==3416== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3416== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3416== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3416== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3416== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3416== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3416== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3416== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3416== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3416== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Block was alloc'd at
==3416== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3416== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3416== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3416== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3416== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3416== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==3416== Invalid read of size 8
==3416== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3416== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Address 0x810cda0 is 96 bytes inside a block of size 104 free'd
==3416== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3416== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3416== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3416== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3416== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3416== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3416== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3416== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3416== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3416== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Block was alloc'd at
==3416== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3416== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3416== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3416== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3416== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3416== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==3416== Invalid read of size 8
==3416== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3416== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Address 0x810ce90 is 80 bytes inside a block of size 368 free'd
==3416== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3416== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3416== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3416== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3416== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3416== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3416== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3416== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3416== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3416== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Block was alloc'd at
==3416== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3416== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3416== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3416== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3416== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3416== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==3416== Invalid read of size 8
==3416== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3416== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3416== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Address 0x810cec0 is 128 bytes inside a block of size 368 free'd
==3416== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3416== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3416== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3416== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3416== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3416== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3416== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3416== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3416== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3416== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Block was alloc'd at
==3416== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3416== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3416== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3416== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3416== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3416== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==3416== Invalid read of size 8
==3416== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3416== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Address 0x810cbc8 is 8 bytes inside a block of size 96 free'd
==3416== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3416== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3416== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3416== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3416== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3416== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3416== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3416== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3416== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3416== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Block was alloc'd at
==3416== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3416== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3416== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3416== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3416== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3416== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==3416== Invalid read of size 8
==3416== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3416== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3416== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Address 0x810cbc8 is 8 bytes inside a block of size 96 free'd
==3416== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3416== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3416== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3416== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3416== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3416== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3416== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3416== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3416== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3416== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Block was alloc'd at
==3416== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3416== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3416== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3416== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3416== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3416== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==3416== Invalid read of size 8
==3416== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3416== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3416== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Address 0x810ca40 is 0 bytes inside a block of size 80 free'd
==3416== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3416== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3416== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3416== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3416== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3416== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3416== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3416== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3416== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3416== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Block was alloc'd at
==3416== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3416== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3416== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3416== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3416== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==3416== Invalid read of size 8
==3416== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3416== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3416== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3416== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Address 0x810ca50 is 16 bytes inside a block of size 80 free'd
==3416== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3416== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3416== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3416== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3416== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3416== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3416== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3416== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3416== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3416== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Block was alloc'd at
==3416== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3416== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3416== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3416== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3416== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==3416== Invalid read of size 8
==3416== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3416== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3416== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3416== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Address 0x810ca40 is 0 bytes inside a block of size 80 free'd
==3416== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3416== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3416== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3416== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3416== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3416== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3416== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3416== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3416== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3416== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Block was alloc'd at
==3416== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3416== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3416== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3416== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3416== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==3416== Invalid read of size 8
==3416== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3416== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3416== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3416== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Address 0x810ca40 is 0 bytes inside a block of size 80 free'd
==3416== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3416== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3416== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3416== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3416== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3416== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3416== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3416== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3416== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3416== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Block was alloc'd at
==3416== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3416== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3416== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3416== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3416== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==3416== Invalid read of size 8
==3416== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3416== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3416== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3416== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Address 0x810ca70 is 48 bytes inside a block of size 80 free'd
==3416== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3416== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3416== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3416== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3416== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3416== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3416== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3416== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3416== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3416== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Block was alloc'd at
==3416== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3416== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3416== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3416== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3416== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==3416== Invalid read of size 8
==3416== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3416== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3416== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3416== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Address 0x810ca58 is 24 bytes inside a block of size 80 free'd
==3416== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3416== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3416== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3416== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3416== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3416== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3416== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3416== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3416== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3416== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Block was alloc'd at
==3416== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3416== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3416== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3416== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3416== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==3416== Invalid read of size 8
==3416== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3416== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3416== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3416== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Address 0x810ca48 is 8 bytes inside a block of size 80 free'd
==3416== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3416== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3416== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3416== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3416== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3416== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3416== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3416== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3416== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3416== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Block was alloc'd at
==3416== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3416== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3416== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3416== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3416== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==3416== Invalid read of size 8
==3416== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3416== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3416== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3416== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Address 0x810ca48 is 8 bytes inside a block of size 80 free'd
==3416== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3416== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3416== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3416== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3416== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3416== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3416== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3416== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3416== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3416== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Block was alloc'd at
==3416== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3416== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3416== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3416== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3416== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==3416== Invalid read of size 8
==3416== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3416== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3416== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3416== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Address 0x810ca88 is 72 bytes inside a block of size 80 free'd
==3416== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3416== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3416== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3416== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3416== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3416== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3416== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3416== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3416== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3416== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3416== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3416== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3416== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416== Block was alloc'd at
==3416== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3416== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3416== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3416== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3416== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3416== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3416== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3416== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3416== by 0x41B68E: main (nginx.c:364)
==3416==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==3431== Invalid read of size 8
==3431== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3431== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Address 0x810c7f0 is 32 bytes inside a block of size 96 free'd
==3431== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3431== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3431== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3431== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3431== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3431== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3431== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3431== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3431== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3431== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Block was alloc'd at
==3431== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3431== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3431== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3431== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3431== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3431== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==3431== Invalid read of size 8
==3431== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3431== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Address 0x810c9b0 is 96 bytes inside a block of size 104 free'd
==3431== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3431== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3431== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3431== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3431== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3431== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3431== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3431== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3431== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3431== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Block was alloc'd at
==3431== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3431== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3431== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3431== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3431== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3431== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==3431== Invalid read of size 8
==3431== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3431== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Address 0x810caa0 is 80 bytes inside a block of size 368 free'd
==3431== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3431== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3431== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3431== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3431== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3431== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3431== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3431== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3431== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3431== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Block was alloc'd at
==3431== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3431== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3431== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3431== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3431== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3431== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==3431== Invalid read of size 8
==3431== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3431== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3431== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Address 0x810cad0 is 128 bytes inside a block of size 368 free'd
==3431== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3431== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3431== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3431== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3431== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3431== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3431== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3431== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3431== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3431== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Block was alloc'd at
==3431== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3431== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3431== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3431== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3431== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3431== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==3431== Invalid read of size 8
==3431== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3431== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Address 0x810c7d8 is 8 bytes inside a block of size 96 free'd
==3431== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3431== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3431== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3431== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3431== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3431== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3431== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3431== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3431== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3431== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Block was alloc'd at
==3431== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3431== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3431== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3431== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3431== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3431== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==3431== Invalid read of size 8
==3431== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3431== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3431== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Address 0x810c7d8 is 8 bytes inside a block of size 96 free'd
==3431== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3431== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3431== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3431== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3431== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3431== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3431== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3431== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3431== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3431== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Block was alloc'd at
==3431== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3431== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3431== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3431== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3431== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3431== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==3431== Invalid read of size 8
==3431== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3431== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3431== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Address 0x810c650 is 0 bytes inside a block of size 80 free'd
==3431== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3431== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3431== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3431== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3431== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3431== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3431== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3431== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3431== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3431== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Block was alloc'd at
==3431== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3431== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3431== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3431== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3431== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==3431== Invalid read of size 8
==3431== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3431== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3431== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3431== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Address 0x810c660 is 16 bytes inside a block of size 80 free'd
==3431== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3431== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3431== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3431== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3431== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3431== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3431== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3431== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3431== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3431== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Block was alloc'd at
==3431== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3431== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3431== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3431== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3431== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==3431== Invalid read of size 8
==3431== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3431== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3431== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3431== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Address 0x810c650 is 0 bytes inside a block of size 80 free'd
==3431== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3431== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3431== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3431== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3431== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3431== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3431== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3431== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3431== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3431== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Block was alloc'd at
==3431== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3431== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3431== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3431== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3431== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==3431== Invalid read of size 8
==3431== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3431== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3431== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3431== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Address 0x810c650 is 0 bytes inside a block of size 80 free'd
==3431== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3431== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3431== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3431== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3431== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3431== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3431== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3431== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3431== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3431== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Block was alloc'd at
==3431== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3431== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3431== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3431== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3431== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==3431== Invalid read of size 8
==3431== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3431== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3431== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3431== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Address 0x810c680 is 48 bytes inside a block of size 80 free'd
==3431== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3431== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3431== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3431== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3431== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3431== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3431== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3431== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3431== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3431== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Block was alloc'd at
==3431== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3431== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3431== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3431== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3431== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==3431== Invalid read of size 8
==3431== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3431== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3431== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3431== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Address 0x810c668 is 24 bytes inside a block of size 80 free'd
==3431== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3431== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3431== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3431== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3431== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3431== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3431== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3431== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3431== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3431== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Block was alloc'd at
==3431== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3431== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3431== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3431== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3431== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==3431== Invalid read of size 8
==3431== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3431== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3431== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3431== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Address 0x810c658 is 8 bytes inside a block of size 80 free'd
==3431== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3431== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3431== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3431== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3431== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3431== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3431== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3431== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3431== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3431== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Block was alloc'd at
==3431== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3431== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3431== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3431== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3431== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==3431== Invalid read of size 8
==3431== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3431== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3431== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3431== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Address 0x810c658 is 8 bytes inside a block of size 80 free'd
==3431== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3431== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3431== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3431== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3431== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3431== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3431== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3431== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3431== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3431== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Block was alloc'd at
==3431== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3431== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3431== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3431== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3431== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==3431== Invalid read of size 8
==3431== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3431== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3431== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3431== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Address 0x810c698 is 72 bytes inside a block of size 80 free'd
==3431== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3431== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3431== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3431== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3431== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3431== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3431== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3431== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3431== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3431== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3431== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3431== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3431== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431== Block was alloc'd at
==3431== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3431== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3431== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3431== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3431== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3431== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3431== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3431== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3431== by 0x41B68E: main (nginx.c:364)
==3431==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==3453== Invalid read of size 8
==3453== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3453== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Address 0x810c190 is 32 bytes inside a block of size 96 free'd
==3453== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3453== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3453== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3453== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3453== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3453== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3453== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3453== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3453== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3453== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Block was alloc'd at
==3453== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3453== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3453== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3453== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3453== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3453== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==3453== Invalid read of size 8
==3453== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3453== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Address 0x810c350 is 96 bytes inside a block of size 104 free'd
==3453== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3453== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3453== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3453== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3453== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3453== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3453== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3453== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3453== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3453== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Block was alloc'd at
==3453== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3453== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3453== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3453== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3453== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3453== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==3453== Invalid read of size 8
==3453== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3453== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Address 0x810c440 is 80 bytes inside a block of size 368 free'd
==3453== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3453== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3453== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3453== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3453== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3453== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3453== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3453== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3453== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3453== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Block was alloc'd at
==3453== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3453== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3453== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3453== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3453== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3453== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==3453== Invalid read of size 8
==3453== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3453== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3453== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Address 0x810c470 is 128 bytes inside a block of size 368 free'd
==3453== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3453== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3453== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3453== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3453== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3453== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3453== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3453== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3453== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3453== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Block was alloc'd at
==3453== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3453== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3453== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3453== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3453== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3453== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==3453== Invalid read of size 8
==3453== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3453== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Address 0x810c178 is 8 bytes inside a block of size 96 free'd
==3453== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3453== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3453== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3453== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3453== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3453== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3453== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3453== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3453== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3453== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Block was alloc'd at
==3453== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3453== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3453== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3453== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3453== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3453== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==3453== Invalid read of size 8
==3453== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3453== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3453== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Address 0x810c178 is 8 bytes inside a block of size 96 free'd
==3453== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3453== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3453== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3453== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3453== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3453== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3453== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3453== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3453== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3453== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Block was alloc'd at
==3453== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3453== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3453== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3453== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3453== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3453== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==3453== Invalid read of size 8
==3453== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3453== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3453== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Address 0x810bff0 is 0 bytes inside a block of size 80 free'd
==3453== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3453== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3453== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3453== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3453== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3453== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3453== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3453== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3453== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3453== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Block was alloc'd at
==3453== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3453== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3453== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3453== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3453== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==3453== Invalid read of size 8
==3453== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3453== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3453== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3453== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Address 0x810c000 is 16 bytes inside a block of size 80 free'd
==3453== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3453== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3453== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3453== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3453== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3453== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3453== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3453== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3453== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3453== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Block was alloc'd at
==3453== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3453== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3453== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3453== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3453== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==3453== Invalid read of size 8
==3453== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3453== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3453== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3453== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Address 0x810bff0 is 0 bytes inside a block of size 80 free'd
==3453== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3453== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3453== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3453== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3453== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3453== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3453== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3453== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3453== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3453== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Block was alloc'd at
==3453== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3453== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3453== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3453== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3453== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==3453== Invalid read of size 8
==3453== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3453== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3453== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3453== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Address 0x810bff0 is 0 bytes inside a block of size 80 free'd
==3453== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3453== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3453== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3453== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3453== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3453== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3453== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3453== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3453== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3453== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Block was alloc'd at
==3453== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3453== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3453== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3453== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3453== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==3453== Invalid read of size 8
==3453== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3453== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3453== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3453== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Address 0x810c020 is 48 bytes inside a block of size 80 free'd
==3453== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3453== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3453== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3453== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3453== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3453== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3453== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3453== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3453== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3453== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Block was alloc'd at
==3453== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3453== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3453== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3453== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3453== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==3453== Invalid read of size 8
==3453== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3453== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3453== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3453== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Address 0x810c008 is 24 bytes inside a block of size 80 free'd
==3453== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3453== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3453== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3453== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3453== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3453== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3453== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3453== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3453== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3453== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Block was alloc'd at
==3453== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3453== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3453== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3453== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3453== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==3453== Invalid read of size 8
==3453== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3453== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3453== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3453== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Address 0x810bff8 is 8 bytes inside a block of size 80 free'd
==3453== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3453== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3453== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3453== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3453== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3453== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3453== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3453== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3453== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3453== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Block was alloc'd at
==3453== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3453== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3453== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3453== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3453== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==3453== Invalid read of size 8
==3453== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3453== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3453== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3453== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Address 0x810bff8 is 8 bytes inside a block of size 80 free'd
==3453== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3453== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3453== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3453== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3453== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3453== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3453== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3453== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3453== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3453== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Block was alloc'd at
==3453== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3453== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3453== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3453== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3453== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==3453== Invalid read of size 8
==3453== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3453== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3453== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3453== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Address 0x810c038 is 72 bytes inside a block of size 80 free'd
==3453== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3453== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3453== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3453== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3453== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3453== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3453== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3453== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3453== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3453== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3453== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3453== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3453== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453== Block was alloc'd at
==3453== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3453== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3453== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3453== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3453== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3453== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3453== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3453== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3453== by 0x41B68E: main (nginx.c:364)
==3453==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==3464== Invalid read of size 8
==3464== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3464== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Address 0x810c5d0 is 32 bytes inside a block of size 96 free'd
==3464== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3464== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3464== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3464== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3464== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3464== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3464== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3464== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3464== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3464== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Block was alloc'd at
==3464== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3464== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3464== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3464== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3464== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3464== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==3464== Invalid read of size 8
==3464== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3464== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Address 0x810c790 is 96 bytes inside a block of size 104 free'd
==3464== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3464== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3464== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3464== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3464== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3464== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3464== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3464== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3464== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3464== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Block was alloc'd at
==3464== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3464== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3464== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3464== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3464== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3464== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==3464== Invalid read of size 8
==3464== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3464== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Address 0x810c880 is 80 bytes inside a block of size 368 free'd
==3464== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3464== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3464== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3464== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3464== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3464== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3464== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3464== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3464== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3464== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Block was alloc'd at
==3464== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3464== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3464== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3464== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3464== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3464== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==3464== Invalid read of size 8
==3464== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3464== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3464== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Address 0x810c8b0 is 128 bytes inside a block of size 368 free'd
==3464== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3464== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3464== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3464== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3464== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3464== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3464== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3464== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3464== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3464== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Block was alloc'd at
==3464== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3464== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3464== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3464== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3464== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3464== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==3464== Invalid read of size 8
==3464== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3464== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Address 0x810c5b8 is 8 bytes inside a block of size 96 free'd
==3464== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3464== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3464== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3464== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3464== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3464== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3464== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3464== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3464== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3464== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Block was alloc'd at
==3464== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3464== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3464== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3464== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3464== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3464== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==3464== Invalid read of size 8
==3464== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3464== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3464== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Address 0x810c5b8 is 8 bytes inside a block of size 96 free'd
==3464== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3464== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3464== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3464== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3464== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3464== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3464== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3464== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3464== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3464== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Block was alloc'd at
==3464== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3464== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3464== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3464== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3464== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3464== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==3464== Invalid read of size 8
==3464== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3464== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3464== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Address 0x810c430 is 0 bytes inside a block of size 80 free'd
==3464== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3464== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3464== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3464== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3464== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3464== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3464== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3464== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3464== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3464== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Block was alloc'd at
==3464== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3464== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3464== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3464== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3464== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==3464== Invalid read of size 8
==3464== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3464== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3464== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3464== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Address 0x810c440 is 16 bytes inside a block of size 80 free'd
==3464== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3464== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3464== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3464== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3464== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3464== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3464== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3464== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3464== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3464== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Block was alloc'd at
==3464== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3464== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3464== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3464== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3464== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==3464== Invalid read of size 8
==3464== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3464== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3464== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3464== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Address 0x810c430 is 0 bytes inside a block of size 80 free'd
==3464== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3464== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3464== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3464== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3464== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3464== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3464== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3464== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3464== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3464== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Block was alloc'd at
==3464== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3464== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3464== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3464== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3464== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==3464== Invalid read of size 8
==3464== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3464== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3464== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3464== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Address 0x810c430 is 0 bytes inside a block of size 80 free'd
==3464== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3464== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3464== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3464== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3464== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3464== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3464== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3464== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3464== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3464== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Block was alloc'd at
==3464== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3464== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3464== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3464== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3464== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==3464== Invalid read of size 8
==3464== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3464== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3464== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3464== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Address 0x810c460 is 48 bytes inside a block of size 80 free'd
==3464== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3464== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3464== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3464== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3464== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3464== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3464== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3464== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3464== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3464== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Block was alloc'd at
==3464== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3464== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3464== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3464== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3464== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==3464== Invalid read of size 8
==3464== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3464== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3464== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3464== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Address 0x810c448 is 24 bytes inside a block of size 80 free'd
==3464== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3464== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3464== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3464== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3464== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3464== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3464== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3464== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3464== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3464== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Block was alloc'd at
==3464== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3464== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3464== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3464== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3464== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==3464== Invalid read of size 8
==3464== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3464== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3464== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3464== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Address 0x810c438 is 8 bytes inside a block of size 80 free'd
==3464== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3464== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3464== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3464== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3464== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3464== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3464== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3464== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3464== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3464== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Block was alloc'd at
==3464== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3464== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3464== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3464== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3464== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==3464== Invalid read of size 8
==3464== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3464== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3464== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3464== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Address 0x810c438 is 8 bytes inside a block of size 80 free'd
==3464== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3464== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3464== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3464== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3464== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3464== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3464== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3464== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3464== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3464== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Block was alloc'd at
==3464== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3464== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3464== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3464== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3464== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==3464== Invalid read of size 8
==3464== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3464== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3464== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3464== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Address 0x810c478 is 72 bytes inside a block of size 80 free'd
==3464== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3464== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3464== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3464== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3464== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3464== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3464== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3464== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3464== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3464== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3464== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3464== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3464== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464== Block was alloc'd at
==3464== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3464== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3464== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3464== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3464== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3464== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3464== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3464== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3464== by 0x41B68E: main (nginx.c:364)
==3464==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==3475== Invalid read of size 8
==3475== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3475== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Address 0x810c350 is 32 bytes inside a block of size 96 free'd
==3475== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3475== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3475== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3475== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3475== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3475== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3475== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3475== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3475== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3475== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Block was alloc'd at
==3475== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3475== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3475== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3475== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3475== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3475== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==3475== Invalid read of size 8
==3475== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3475== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Address 0x810c510 is 96 bytes inside a block of size 104 free'd
==3475== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3475== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3475== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3475== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3475== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3475== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3475== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3475== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3475== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3475== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Block was alloc'd at
==3475== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3475== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3475== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3475== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3475== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3475== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==3475== Invalid read of size 8
==3475== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3475== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Address 0x810c600 is 80 bytes inside a block of size 368 free'd
==3475== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3475== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3475== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3475== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3475== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3475== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3475== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3475== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3475== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3475== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Block was alloc'd at
==3475== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3475== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3475== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3475== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3475== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3475== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==3475== Invalid read of size 8
==3475== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3475== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3475== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Address 0x810c630 is 128 bytes inside a block of size 368 free'd
==3475== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3475== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3475== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3475== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3475== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3475== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3475== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3475== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3475== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3475== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Block was alloc'd at
==3475== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3475== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3475== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3475== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3475== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3475== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==3475== Invalid read of size 8
==3475== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3475== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Address 0x810c338 is 8 bytes inside a block of size 96 free'd
==3475== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3475== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3475== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3475== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3475== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3475== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3475== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3475== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3475== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3475== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Block was alloc'd at
==3475== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3475== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3475== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3475== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3475== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3475== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==3475== Invalid read of size 8
==3475== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3475== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3475== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Address 0x810c338 is 8 bytes inside a block of size 96 free'd
==3475== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3475== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3475== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3475== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3475== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3475== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3475== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3475== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3475== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3475== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Block was alloc'd at
==3475== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3475== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3475== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3475== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3475== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3475== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==3475== Invalid read of size 8
==3475== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3475== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3475== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Address 0x810c1b0 is 0 bytes inside a block of size 80 free'd
==3475== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3475== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3475== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3475== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3475== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3475== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3475== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3475== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3475== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3475== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Block was alloc'd at
==3475== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3475== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3475== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3475== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3475== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==3475== Invalid read of size 8
==3475== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3475== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3475== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3475== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Address 0x810c1c0 is 16 bytes inside a block of size 80 free'd
==3475== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3475== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3475== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3475== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3475== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3475== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3475== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3475== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3475== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3475== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Block was alloc'd at
==3475== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3475== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3475== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3475== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3475== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==3475== Invalid read of size 8
==3475== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3475== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3475== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3475== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Address 0x810c1b0 is 0 bytes inside a block of size 80 free'd
==3475== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3475== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3475== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3475== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3475== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3475== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3475== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3475== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3475== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3475== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Block was alloc'd at
==3475== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3475== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3475== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3475== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3475== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==3475== Invalid read of size 8
==3475== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3475== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3475== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3475== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Address 0x810c1b0 is 0 bytes inside a block of size 80 free'd
==3475== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3475== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3475== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3475== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3475== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3475== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3475== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3475== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3475== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3475== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Block was alloc'd at
==3475== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3475== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3475== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3475== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3475== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==3475== Invalid read of size 8
==3475== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3475== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3475== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3475== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Address 0x810c1e0 is 48 bytes inside a block of size 80 free'd
==3475== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3475== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3475== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3475== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3475== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3475== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3475== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3475== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3475== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3475== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Block was alloc'd at
==3475== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3475== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3475== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3475== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3475== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==3475== Invalid read of size 8
==3475== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3475== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3475== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3475== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Address 0x810c1c8 is 24 bytes inside a block of size 80 free'd
==3475== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3475== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3475== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3475== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3475== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3475== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3475== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3475== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3475== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3475== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Block was alloc'd at
==3475== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3475== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3475== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3475== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3475== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==3475== Invalid read of size 8
==3475== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3475== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3475== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3475== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Address 0x810c1b8 is 8 bytes inside a block of size 80 free'd
==3475== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3475== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3475== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3475== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3475== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3475== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3475== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3475== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3475== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3475== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Block was alloc'd at
==3475== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3475== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3475== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3475== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3475== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==3475== Invalid read of size 8
==3475== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3475== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3475== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3475== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Address 0x810c1b8 is 8 bytes inside a block of size 80 free'd
==3475== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3475== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3475== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3475== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3475== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3475== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3475== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3475== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3475== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3475== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Block was alloc'd at
==3475== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3475== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3475== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3475== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3475== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==3475== Invalid read of size 8
==3475== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3475== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3475== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3475== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Address 0x810c1f8 is 72 bytes inside a block of size 80 free'd
==3475== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3475== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3475== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3475== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3475== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3475== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3475== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3475== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3475== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3475== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3475== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3475== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3475== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475== Block was alloc'd at
==3475== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3475== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3475== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3475== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3475== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3475== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3475== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3475== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3475== by 0x41B68E: main (nginx.c:364)
==3475==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==3681== Invalid read of size 8
==3681== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3681== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Address 0x80f97c0 is 32 bytes inside a block of size 96 free'd
==3681== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3681== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3681== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3681== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3681== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3681== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3681== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3681== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3681== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3681== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Block was alloc'd at
==3681== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3681== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3681== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3681== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3681== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3681== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==3681== Invalid read of size 8
==3681== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3681== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Address 0x80f9980 is 96 bytes inside a block of size 104 free'd
==3681== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3681== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3681== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3681== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3681== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3681== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3681== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3681== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3681== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3681== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Block was alloc'd at
==3681== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3681== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3681== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3681== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3681== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3681== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==3681== Invalid read of size 8
==3681== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3681== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Address 0x80f9a70 is 80 bytes inside a block of size 368 free'd
==3681== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3681== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3681== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3681== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3681== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3681== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3681== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3681== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3681== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3681== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Block was alloc'd at
==3681== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3681== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3681== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3681== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3681== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3681== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==3681== Invalid read of size 8
==3681== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3681== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3681== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Address 0x80f9aa0 is 128 bytes inside a block of size 368 free'd
==3681== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3681== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3681== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3681== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3681== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3681== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3681== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3681== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3681== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3681== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Block was alloc'd at
==3681== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3681== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3681== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3681== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3681== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3681== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==3681== Invalid read of size 8
==3681== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3681== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Address 0x80f97a8 is 8 bytes inside a block of size 96 free'd
==3681== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3681== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3681== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3681== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3681== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3681== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3681== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3681== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3681== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3681== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Block was alloc'd at
==3681== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3681== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3681== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3681== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3681== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3681== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==3681== Invalid read of size 8
==3681== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3681== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3681== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Address 0x80f97a8 is 8 bytes inside a block of size 96 free'd
==3681== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3681== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3681== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3681== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3681== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3681== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3681== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3681== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3681== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3681== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Block was alloc'd at
==3681== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3681== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3681== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3681== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3681== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3681== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==3681== Invalid read of size 8
==3681== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3681== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3681== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Address 0x80f9620 is 0 bytes inside a block of size 80 free'd
==3681== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3681== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3681== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3681== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3681== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3681== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3681== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3681== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3681== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3681== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Block was alloc'd at
==3681== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3681== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3681== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3681== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3681== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==3681== Invalid read of size 8
==3681== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3681== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3681== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3681== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Address 0x80f9630 is 16 bytes inside a block of size 80 free'd
==3681== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3681== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3681== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3681== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3681== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3681== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3681== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3681== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3681== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3681== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Block was alloc'd at
==3681== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3681== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3681== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3681== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3681== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==3681== Invalid read of size 8
==3681== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3681== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3681== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3681== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Address 0x80f9620 is 0 bytes inside a block of size 80 free'd
==3681== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3681== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3681== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3681== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3681== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3681== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3681== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3681== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3681== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3681== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Block was alloc'd at
==3681== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3681== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3681== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3681== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3681== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==3681== Invalid read of size 8
==3681== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3681== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3681== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3681== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Address 0x80f9620 is 0 bytes inside a block of size 80 free'd
==3681== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3681== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3681== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3681== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3681== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3681== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3681== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3681== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3681== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3681== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Block was alloc'd at
==3681== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3681== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3681== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3681== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3681== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==3681== Invalid read of size 8
==3681== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3681== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3681== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3681== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Address 0x80f9650 is 48 bytes inside a block of size 80 free'd
==3681== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3681== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3681== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3681== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3681== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3681== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3681== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3681== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3681== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3681== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Block was alloc'd at
==3681== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3681== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3681== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3681== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3681== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==3681== Invalid read of size 8
==3681== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3681== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3681== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3681== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Address 0x80f9638 is 24 bytes inside a block of size 80 free'd
==3681== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3681== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3681== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3681== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3681== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3681== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3681== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3681== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3681== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3681== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Block was alloc'd at
==3681== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3681== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3681== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3681== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3681== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==3681== Invalid read of size 8
==3681== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3681== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3681== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3681== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Address 0x80f9628 is 8 bytes inside a block of size 80 free'd
==3681== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3681== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3681== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3681== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3681== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3681== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3681== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3681== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3681== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3681== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Block was alloc'd at
==3681== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3681== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3681== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3681== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3681== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==3681== Invalid read of size 8
==3681== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3681== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3681== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3681== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Address 0x80f9628 is 8 bytes inside a block of size 80 free'd
==3681== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3681== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3681== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3681== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3681== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3681== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3681== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3681== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3681== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3681== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Block was alloc'd at
==3681== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3681== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3681== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3681== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3681== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==3681== Invalid read of size 8
==3681== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3681== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3681== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3681== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Address 0x80f9668 is 72 bytes inside a block of size 80 free'd
==3681== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3681== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3681== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3681== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3681== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3681== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3681== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3681== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3681== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3681== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3681== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3681== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3681== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681== Block was alloc'd at
==3681== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3681== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3681== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3681== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3681== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3681== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3681== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3681== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3681== by 0x41B68E: main (nginx.c:364)
==3681==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==3692== Invalid read of size 8
==3692== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3692== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Address 0x80f8b90 is 32 bytes inside a block of size 96 free'd
==3692== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3692== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3692== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3692== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3692== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3692== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3692== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3692== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3692== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3692== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Block was alloc'd at
==3692== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3692== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3692== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3692== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3692== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3692== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==3692== Invalid read of size 8
==3692== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3692== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Address 0x80f8d50 is 96 bytes inside a block of size 104 free'd
==3692== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3692== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3692== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3692== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3692== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3692== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3692== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3692== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3692== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3692== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Block was alloc'd at
==3692== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3692== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3692== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3692== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3692== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3692== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==3692== Invalid read of size 8
==3692== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3692== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Address 0x80f8e40 is 80 bytes inside a block of size 368 free'd
==3692== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3692== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3692== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3692== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3692== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3692== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3692== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3692== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3692== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3692== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Block was alloc'd at
==3692== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3692== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3692== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3692== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3692== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3692== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==3692== Invalid read of size 8
==3692== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3692== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3692== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Address 0x80f8e70 is 128 bytes inside a block of size 368 free'd
==3692== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3692== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3692== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3692== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3692== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3692== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3692== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3692== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3692== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3692== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Block was alloc'd at
==3692== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3692== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3692== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3692== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3692== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3692== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==3692== Invalid read of size 8
==3692== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3692== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Address 0x80f8b78 is 8 bytes inside a block of size 96 free'd
==3692== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3692== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3692== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3692== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3692== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3692== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3692== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3692== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3692== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3692== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Block was alloc'd at
==3692== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3692== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3692== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3692== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3692== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3692== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==3692== Invalid read of size 8
==3692== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3692== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3692== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Address 0x80f8b78 is 8 bytes inside a block of size 96 free'd
==3692== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3692== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3692== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3692== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3692== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3692== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3692== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3692== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3692== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3692== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Block was alloc'd at
==3692== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3692== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3692== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3692== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3692== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3692== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==3692== Invalid read of size 8
==3692== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3692== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3692== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Address 0x80f89f0 is 0 bytes inside a block of size 80 free'd
==3692== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3692== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3692== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3692== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3692== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3692== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3692== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3692== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3692== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3692== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Block was alloc'd at
==3692== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3692== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3692== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3692== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3692== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==3692== Invalid read of size 8
==3692== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3692== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3692== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3692== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Address 0x80f8a00 is 16 bytes inside a block of size 80 free'd
==3692== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3692== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3692== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3692== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3692== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3692== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3692== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3692== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3692== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3692== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Block was alloc'd at
==3692== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3692== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3692== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3692== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3692== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==3692== Invalid read of size 8
==3692== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3692== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3692== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3692== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Address 0x80f89f0 is 0 bytes inside a block of size 80 free'd
==3692== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3692== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3692== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3692== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3692== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3692== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3692== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3692== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3692== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3692== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Block was alloc'd at
==3692== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3692== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3692== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3692== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3692== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==3692== Invalid read of size 8
==3692== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3692== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3692== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3692== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Address 0x80f89f0 is 0 bytes inside a block of size 80 free'd
==3692== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3692== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3692== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3692== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3692== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3692== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3692== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3692== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3692== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3692== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Block was alloc'd at
==3692== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3692== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3692== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3692== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3692== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==3692== Invalid read of size 8
==3692== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3692== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3692== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3692== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Address 0x80f8a20 is 48 bytes inside a block of size 80 free'd
==3692== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3692== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3692== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3692== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3692== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3692== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3692== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3692== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3692== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3692== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Block was alloc'd at
==3692== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3692== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3692== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3692== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3692== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==3692== Invalid read of size 8
==3692== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3692== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3692== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3692== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Address 0x80f8a08 is 24 bytes inside a block of size 80 free'd
==3692== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3692== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3692== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3692== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3692== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3692== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3692== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3692== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3692== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3692== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Block was alloc'd at
==3692== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3692== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3692== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3692== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3692== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==3692== Invalid read of size 8
==3692== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3692== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3692== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3692== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Address 0x80f89f8 is 8 bytes inside a block of size 80 free'd
==3692== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3692== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3692== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3692== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3692== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3692== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3692== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3692== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3692== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3692== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Block was alloc'd at
==3692== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3692== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3692== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3692== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3692== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==3692== Invalid read of size 8
==3692== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3692== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3692== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3692== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Address 0x80f89f8 is 8 bytes inside a block of size 80 free'd
==3692== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3692== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3692== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3692== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3692== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3692== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3692== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3692== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3692== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3692== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Block was alloc'd at
==3692== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3692== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3692== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3692== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3692== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==3692== Invalid read of size 8
==3692== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3692== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3692== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3692== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Address 0x80f8a38 is 72 bytes inside a block of size 80 free'd
==3692== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3692== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3692== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3692== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3692== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3692== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3692== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3692== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3692== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3692== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3692== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3692== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3692== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692== Block was alloc'd at
==3692== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3692== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3692== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3692== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3692== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3692== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3692== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3692== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3692== by 0x41B68E: main (nginx.c:364)
==3692==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==3736== Invalid read of size 8
==3736== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3736== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Address 0x80f97c0 is 32 bytes inside a block of size 96 free'd
==3736== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3736== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3736== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3736== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3736== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3736== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3736== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3736== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3736== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3736== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Block was alloc'd at
==3736== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3736== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3736== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3736== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3736== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3736== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==3736== Invalid read of size 8
==3736== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3736== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Address 0x80f9980 is 96 bytes inside a block of size 104 free'd
==3736== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3736== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3736== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3736== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3736== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3736== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3736== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3736== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3736== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3736== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Block was alloc'd at
==3736== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3736== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3736== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3736== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3736== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3736== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==3736== Invalid read of size 8
==3736== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3736== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Address 0x80f9a70 is 80 bytes inside a block of size 368 free'd
==3736== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3736== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3736== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3736== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3736== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3736== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3736== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3736== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3736== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3736== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Block was alloc'd at
==3736== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3736== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3736== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3736== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3736== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3736== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==3736== Invalid read of size 8
==3736== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3736== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3736== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Address 0x80f9aa0 is 128 bytes inside a block of size 368 free'd
==3736== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3736== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3736== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3736== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3736== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3736== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3736== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3736== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3736== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3736== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Block was alloc'd at
==3736== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3736== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3736== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3736== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3736== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3736== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==3736== Invalid read of size 8
==3736== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3736== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Address 0x80f97a8 is 8 bytes inside a block of size 96 free'd
==3736== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3736== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3736== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3736== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3736== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3736== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3736== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3736== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3736== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3736== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Block was alloc'd at
==3736== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3736== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3736== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3736== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3736== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3736== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==3736== Invalid read of size 8
==3736== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3736== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3736== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Address 0x80f97a8 is 8 bytes inside a block of size 96 free'd
==3736== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3736== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3736== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3736== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3736== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3736== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3736== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3736== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3736== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3736== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Block was alloc'd at
==3736== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3736== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3736== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3736== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3736== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3736== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==3736== Invalid read of size 8
==3736== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3736== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3736== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Address 0x80f9620 is 0 bytes inside a block of size 80 free'd
==3736== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3736== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3736== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3736== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3736== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3736== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3736== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3736== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3736== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3736== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Block was alloc'd at
==3736== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3736== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3736== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3736== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3736== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==3736== Invalid read of size 8
==3736== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3736== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3736== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3736== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Address 0x80f9630 is 16 bytes inside a block of size 80 free'd
==3736== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3736== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3736== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3736== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3736== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3736== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3736== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3736== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3736== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3736== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Block was alloc'd at
==3736== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3736== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3736== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3736== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3736== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==3736== Invalid read of size 8
==3736== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3736== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3736== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3736== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Address 0x80f9620 is 0 bytes inside a block of size 80 free'd
==3736== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3736== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3736== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3736== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3736== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3736== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3736== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3736== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3736== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3736== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Block was alloc'd at
==3736== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3736== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3736== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3736== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3736== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==3736== Invalid read of size 8
==3736== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3736== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3736== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3736== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Address 0x80f9620 is 0 bytes inside a block of size 80 free'd
==3736== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3736== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3736== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3736== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3736== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3736== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3736== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3736== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3736== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3736== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Block was alloc'd at
==3736== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3736== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3736== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3736== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3736== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==3736== Invalid read of size 8
==3736== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3736== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3736== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3736== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Address 0x80f9650 is 48 bytes inside a block of size 80 free'd
==3736== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3736== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3736== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3736== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3736== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3736== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3736== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3736== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3736== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3736== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Block was alloc'd at
==3736== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3736== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3736== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3736== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3736== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==3736== Invalid read of size 8
==3736== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3736== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3736== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3736== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Address 0x80f9638 is 24 bytes inside a block of size 80 free'd
==3736== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3736== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3736== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3736== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3736== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3736== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3736== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3736== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3736== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3736== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Block was alloc'd at
==3736== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3736== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3736== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3736== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3736== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==3736== Invalid read of size 8
==3736== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3736== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3736== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3736== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Address 0x80f9628 is 8 bytes inside a block of size 80 free'd
==3736== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3736== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3736== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3736== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3736== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3736== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3736== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3736== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3736== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3736== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Block was alloc'd at
==3736== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3736== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3736== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3736== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3736== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==3736== Invalid read of size 8
==3736== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3736== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3736== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3736== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Address 0x80f9628 is 8 bytes inside a block of size 80 free'd
==3736== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3736== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3736== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3736== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3736== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3736== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3736== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3736== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3736== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3736== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Block was alloc'd at
==3736== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3736== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3736== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3736== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3736== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==3736== Invalid read of size 8
==3736== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3736== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3736== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3736== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Address 0x80f9668 is 72 bytes inside a block of size 80 free'd
==3736== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3736== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3736== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3736== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3736== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3736== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3736== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3736== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3736== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3736== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3736== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3736== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3736== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736== Block was alloc'd at
==3736== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3736== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3736== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3736== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3736== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3736== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3736== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3736== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3736== by 0x41B68E: main (nginx.c:364)
==3736==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==3780== Invalid read of size 8
==3780== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3780== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Address 0x80f8df0 is 32 bytes inside a block of size 96 free'd
==3780== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3780== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3780== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3780== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3780== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3780== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3780== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3780== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3780== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3780== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Block was alloc'd at
==3780== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3780== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3780== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3780== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3780== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3780== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==3780== Invalid read of size 8
==3780== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3780== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Address 0x80f8fb0 is 96 bytes inside a block of size 104 free'd
==3780== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3780== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3780== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3780== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3780== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3780== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3780== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3780== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3780== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3780== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Block was alloc'd at
==3780== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3780== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3780== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3780== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3780== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3780== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==3780== Invalid read of size 8
==3780== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3780== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Address 0x80f90a0 is 80 bytes inside a block of size 368 free'd
==3780== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3780== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3780== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3780== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3780== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3780== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3780== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3780== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3780== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3780== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Block was alloc'd at
==3780== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3780== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3780== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3780== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3780== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3780== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==3780== Invalid read of size 8
==3780== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3780== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3780== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Address 0x80f90d0 is 128 bytes inside a block of size 368 free'd
==3780== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3780== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3780== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3780== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3780== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3780== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3780== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3780== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3780== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3780== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Block was alloc'd at
==3780== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3780== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3780== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3780== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3780== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3780== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==3780== Invalid read of size 8
==3780== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3780== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Address 0x80f8dd8 is 8 bytes inside a block of size 96 free'd
==3780== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3780== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3780== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3780== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3780== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3780== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3780== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3780== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3780== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3780== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Block was alloc'd at
==3780== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3780== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3780== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3780== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3780== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3780== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==3780== Invalid read of size 8
==3780== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3780== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3780== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Address 0x80f8dd8 is 8 bytes inside a block of size 96 free'd
==3780== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3780== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3780== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3780== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3780== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3780== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3780== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3780== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3780== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3780== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Block was alloc'd at
==3780== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3780== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3780== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3780== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3780== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3780== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==3780== Invalid read of size 8
==3780== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3780== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3780== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Address 0x80f8c50 is 0 bytes inside a block of size 80 free'd
==3780== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3780== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3780== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3780== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3780== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3780== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3780== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3780== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3780== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3780== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Block was alloc'd at
==3780== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3780== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3780== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3780== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3780== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==3780== Invalid read of size 8
==3780== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3780== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3780== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3780== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Address 0x80f8c60 is 16 bytes inside a block of size 80 free'd
==3780== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3780== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3780== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3780== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3780== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3780== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3780== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3780== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3780== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3780== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Block was alloc'd at
==3780== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3780== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3780== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3780== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3780== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==3780== Invalid read of size 8
==3780== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3780== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3780== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3780== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Address 0x80f8c50 is 0 bytes inside a block of size 80 free'd
==3780== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3780== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3780== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3780== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3780== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3780== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3780== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3780== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3780== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3780== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Block was alloc'd at
==3780== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3780== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3780== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3780== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3780== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==3780== Invalid read of size 8
==3780== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3780== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3780== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3780== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Address 0x80f8c50 is 0 bytes inside a block of size 80 free'd
==3780== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3780== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3780== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3780== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3780== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3780== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3780== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3780== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3780== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3780== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Block was alloc'd at
==3780== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3780== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3780== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3780== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3780== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==3780== Invalid read of size 8
==3780== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3780== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3780== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3780== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Address 0x80f8c80 is 48 bytes inside a block of size 80 free'd
==3780== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3780== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3780== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3780== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3780== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3780== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3780== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3780== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3780== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3780== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Block was alloc'd at
==3780== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3780== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3780== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3780== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3780== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==3780== Invalid read of size 8
==3780== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3780== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3780== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3780== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Address 0x80f8c68 is 24 bytes inside a block of size 80 free'd
==3780== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3780== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3780== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3780== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3780== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3780== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3780== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3780== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3780== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3780== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Block was alloc'd at
==3780== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3780== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3780== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3780== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3780== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==3780== Invalid read of size 8
==3780== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3780== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3780== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3780== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Address 0x80f8c58 is 8 bytes inside a block of size 80 free'd
==3780== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3780== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3780== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3780== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3780== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3780== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3780== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3780== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3780== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3780== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Block was alloc'd at
==3780== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3780== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3780== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3780== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3780== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==3780== Invalid read of size 8
==3780== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3780== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3780== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3780== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Address 0x80f8c58 is 8 bytes inside a block of size 80 free'd
==3780== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3780== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3780== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3780== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3780== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3780== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3780== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3780== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3780== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3780== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Block was alloc'd at
==3780== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3780== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3780== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3780== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3780== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==3780== Invalid read of size 8
==3780== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3780== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3780== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3780== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Address 0x80f8c98 is 72 bytes inside a block of size 80 free'd
==3780== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3780== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3780== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3780== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3780== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3780== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3780== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3780== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3780== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3780== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3780== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3780== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3780== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780== Block was alloc'd at
==3780== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3780== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3780== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3780== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3780== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3780== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3780== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3780== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3780== by 0x41B68E: main (nginx.c:364)
==3780==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==3813== Invalid read of size 8
==3813== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3813== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Address 0x80f8d60 is 32 bytes inside a block of size 96 free'd
==3813== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3813== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3813== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3813== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3813== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3813== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3813== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3813== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3813== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3813== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Block was alloc'd at
==3813== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3813== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3813== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3813== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3813== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3813== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==3813== Invalid read of size 8
==3813== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3813== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Address 0x80f8f20 is 96 bytes inside a block of size 104 free'd
==3813== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3813== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3813== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3813== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3813== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3813== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3813== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3813== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3813== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3813== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Block was alloc'd at
==3813== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3813== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3813== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3813== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3813== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3813== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==3813== Invalid read of size 8
==3813== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3813== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Address 0x80f9010 is 80 bytes inside a block of size 368 free'd
==3813== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3813== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3813== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3813== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3813== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3813== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3813== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3813== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3813== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3813== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Block was alloc'd at
==3813== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3813== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3813== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3813== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3813== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3813== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==3813== Invalid read of size 8
==3813== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3813== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3813== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Address 0x80f9040 is 128 bytes inside a block of size 368 free'd
==3813== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3813== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3813== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3813== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3813== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3813== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3813== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3813== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3813== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3813== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Block was alloc'd at
==3813== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3813== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3813== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3813== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3813== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3813== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==3813== Invalid read of size 8
==3813== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3813== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Address 0x80f8d48 is 8 bytes inside a block of size 96 free'd
==3813== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3813== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3813== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3813== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3813== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3813== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3813== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3813== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3813== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3813== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Block was alloc'd at
==3813== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3813== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3813== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3813== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3813== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3813== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==3813== Invalid read of size 8
==3813== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3813== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3813== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Address 0x80f8d48 is 8 bytes inside a block of size 96 free'd
==3813== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3813== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3813== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3813== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3813== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3813== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3813== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3813== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3813== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3813== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Block was alloc'd at
==3813== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3813== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3813== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3813== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3813== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3813== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==3813== Invalid read of size 8
==3813== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3813== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3813== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Address 0x80f8bc0 is 0 bytes inside a block of size 80 free'd
==3813== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3813== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3813== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3813== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3813== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3813== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3813== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3813== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3813== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3813== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Block was alloc'd at
==3813== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3813== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3813== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3813== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3813== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==3813== Invalid read of size 8
==3813== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3813== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3813== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3813== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Address 0x80f8bd0 is 16 bytes inside a block of size 80 free'd
==3813== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3813== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3813== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3813== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3813== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3813== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3813== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3813== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3813== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3813== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Block was alloc'd at
==3813== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3813== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3813== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3813== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3813== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==3813== Invalid read of size 8
==3813== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3813== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3813== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3813== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Address 0x80f8bc0 is 0 bytes inside a block of size 80 free'd
==3813== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3813== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3813== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3813== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3813== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3813== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3813== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3813== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3813== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3813== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Block was alloc'd at
==3813== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3813== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3813== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3813== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3813== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==3813== Invalid read of size 8
==3813== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3813== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3813== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3813== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Address 0x80f8bc0 is 0 bytes inside a block of size 80 free'd
==3813== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3813== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3813== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3813== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3813== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3813== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3813== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3813== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3813== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3813== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Block was alloc'd at
==3813== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3813== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3813== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3813== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3813== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==3813== Invalid read of size 8
==3813== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3813== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3813== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3813== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Address 0x80f8bf0 is 48 bytes inside a block of size 80 free'd
==3813== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3813== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3813== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3813== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3813== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3813== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3813== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3813== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3813== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3813== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Block was alloc'd at
==3813== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3813== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3813== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3813== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3813== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==3813== Invalid read of size 8
==3813== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3813== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3813== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3813== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Address 0x80f8bd8 is 24 bytes inside a block of size 80 free'd
==3813== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3813== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3813== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3813== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3813== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3813== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3813== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3813== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3813== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3813== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Block was alloc'd at
==3813== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3813== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3813== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3813== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3813== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==3813== Invalid read of size 8
==3813== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3813== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3813== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3813== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Address 0x80f8bc8 is 8 bytes inside a block of size 80 free'd
==3813== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3813== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3813== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3813== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3813== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3813== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3813== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3813== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3813== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3813== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Block was alloc'd at
==3813== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3813== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3813== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3813== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3813== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==3813== Invalid read of size 8
==3813== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3813== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3813== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3813== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Address 0x80f8bc8 is 8 bytes inside a block of size 80 free'd
==3813== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3813== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3813== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3813== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3813== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3813== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3813== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3813== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3813== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3813== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Block was alloc'd at
==3813== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3813== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3813== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3813== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3813== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==3813== Invalid read of size 8
==3813== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3813== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3813== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3813== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Address 0x80f8c08 is 72 bytes inside a block of size 80 free'd
==3813== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3813== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3813== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3813== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3813== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3813== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3813== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3813== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3813== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3813== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3813== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3813== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3813== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813== Block was alloc'd at
==3813== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3813== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3813== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3813== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3813== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3813== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3813== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3813== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3813== by 0x41B68E: main (nginx.c:364)
==3813==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==3835== Invalid read of size 8
==3835== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3835== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Address 0x80f8d70 is 32 bytes inside a block of size 96 free'd
==3835== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3835== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3835== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3835== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3835== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3835== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3835== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3835== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3835== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3835== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Block was alloc'd at
==3835== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3835== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3835== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3835== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3835== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3835== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==3835== Invalid read of size 8
==3835== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3835== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Address 0x80f8f30 is 96 bytes inside a block of size 104 free'd
==3835== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3835== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3835== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3835== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3835== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3835== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3835== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3835== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3835== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3835== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Block was alloc'd at
==3835== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3835== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3835== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3835== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3835== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3835== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==3835== Invalid read of size 8
==3835== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3835== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Address 0x80f9020 is 80 bytes inside a block of size 368 free'd
==3835== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3835== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3835== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3835== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3835== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3835== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3835== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3835== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3835== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3835== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Block was alloc'd at
==3835== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3835== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3835== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3835== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3835== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3835== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==3835== Invalid read of size 8
==3835== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3835== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3835== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Address 0x80f9050 is 128 bytes inside a block of size 368 free'd
==3835== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3835== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3835== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3835== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3835== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3835== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3835== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3835== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3835== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3835== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Block was alloc'd at
==3835== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3835== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3835== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3835== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3835== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3835== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==3835== Invalid read of size 8
==3835== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3835== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Address 0x80f8d58 is 8 bytes inside a block of size 96 free'd
==3835== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3835== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3835== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3835== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3835== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3835== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3835== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3835== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3835== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3835== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Block was alloc'd at
==3835== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3835== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3835== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3835== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3835== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3835== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==3835== Invalid read of size 8
==3835== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3835== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3835== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Address 0x80f8d58 is 8 bytes inside a block of size 96 free'd
==3835== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3835== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3835== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3835== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3835== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3835== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3835== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3835== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3835== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3835== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Block was alloc'd at
==3835== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3835== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3835== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3835== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3835== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3835== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==3835== Invalid read of size 8
==3835== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3835== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3835== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Address 0x80f8bd0 is 0 bytes inside a block of size 80 free'd
==3835== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3835== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3835== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3835== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3835== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3835== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3835== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3835== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3835== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3835== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Block was alloc'd at
==3835== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3835== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3835== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3835== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3835== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==3835== Invalid read of size 8
==3835== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3835== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3835== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3835== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Address 0x80f8be0 is 16 bytes inside a block of size 80 free'd
==3835== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3835== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3835== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3835== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3835== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3835== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3835== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3835== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3835== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3835== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Block was alloc'd at
==3835== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3835== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3835== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3835== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3835== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==3835== Invalid read of size 8
==3835== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3835== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3835== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3835== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Address 0x80f8bd0 is 0 bytes inside a block of size 80 free'd
==3835== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3835== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3835== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3835== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3835== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3835== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3835== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3835== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3835== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3835== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Block was alloc'd at
==3835== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3835== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3835== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3835== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3835== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==3835== Invalid read of size 8
==3835== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3835== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3835== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3835== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Address 0x80f8bd0 is 0 bytes inside a block of size 80 free'd
==3835== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3835== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3835== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3835== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3835== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3835== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3835== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3835== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3835== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3835== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Block was alloc'd at
==3835== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3835== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3835== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3835== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3835== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==3835== Invalid read of size 8
==3835== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3835== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3835== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3835== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Address 0x80f8c00 is 48 bytes inside a block of size 80 free'd
==3835== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3835== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3835== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3835== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3835== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3835== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3835== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3835== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3835== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3835== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Block was alloc'd at
==3835== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3835== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3835== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3835== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3835== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==3835== Invalid read of size 8
==3835== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3835== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3835== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3835== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Address 0x80f8be8 is 24 bytes inside a block of size 80 free'd
==3835== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3835== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3835== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3835== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3835== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3835== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3835== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3835== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3835== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3835== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Block was alloc'd at
==3835== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3835== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3835== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3835== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3835== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==3835== Invalid read of size 8
==3835== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3835== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3835== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3835== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Address 0x80f8bd8 is 8 bytes inside a block of size 80 free'd
==3835== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3835== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3835== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3835== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3835== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3835== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3835== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3835== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3835== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3835== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Block was alloc'd at
==3835== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3835== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3835== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3835== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3835== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==3835== Invalid read of size 8
==3835== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3835== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3835== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3835== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Address 0x80f8bd8 is 8 bytes inside a block of size 80 free'd
==3835== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3835== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3835== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3835== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3835== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3835== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3835== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3835== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3835== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3835== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Block was alloc'd at
==3835== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3835== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3835== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3835== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3835== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==3835== Invalid read of size 8
==3835== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3835== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3835== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3835== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Address 0x80f8c18 is 72 bytes inside a block of size 80 free'd
==3835== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3835== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3835== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3835== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3835== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3835== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3835== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3835== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3835== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3835== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3835== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3835== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3835== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835== Block was alloc'd at
==3835== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3835== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3835== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3835== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3835== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3835== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3835== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3835== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3835== by 0x41B68E: main (nginx.c:364)
==3835==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==3846== Invalid read of size 8
==3846== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3846== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Address 0x80f8bb0 is 32 bytes inside a block of size 96 free'd
==3846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3846== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3846== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3846== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3846== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3846== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3846== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3846== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3846== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3846== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Block was alloc'd at
==3846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3846== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3846== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3846== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3846== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3846== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==3846== Invalid read of size 8
==3846== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3846== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Address 0x80f8d70 is 96 bytes inside a block of size 104 free'd
==3846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3846== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3846== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3846== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3846== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3846== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3846== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3846== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3846== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3846== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Block was alloc'd at
==3846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3846== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3846== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3846== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3846== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3846== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==3846== Invalid read of size 8
==3846== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3846== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Address 0x80f8e60 is 80 bytes inside a block of size 368 free'd
==3846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3846== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3846== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3846== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3846== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3846== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3846== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3846== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3846== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3846== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Block was alloc'd at
==3846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3846== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3846== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3846== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3846== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3846== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==3846== Invalid read of size 8
==3846== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3846== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3846== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Address 0x80f8e90 is 128 bytes inside a block of size 368 free'd
==3846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3846== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3846== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3846== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3846== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3846== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3846== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3846== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3846== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3846== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Block was alloc'd at
==3846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3846== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3846== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3846== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3846== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3846== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==3846== Invalid read of size 8
==3846== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3846== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Address 0x80f8b98 is 8 bytes inside a block of size 96 free'd
==3846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3846== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3846== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3846== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3846== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3846== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3846== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3846== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3846== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3846== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Block was alloc'd at
==3846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3846== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3846== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3846== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3846== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3846== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==3846== Invalid read of size 8
==3846== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3846== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3846== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Address 0x80f8b98 is 8 bytes inside a block of size 96 free'd
==3846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3846== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3846== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3846== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3846== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3846== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3846== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3846== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3846== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3846== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Block was alloc'd at
==3846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3846== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3846== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3846== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3846== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3846== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==3846== Invalid read of size 8
==3846== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3846== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3846== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Address 0x80f8a10 is 0 bytes inside a block of size 80 free'd
==3846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3846== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3846== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3846== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3846== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3846== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3846== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3846== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3846== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3846== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Block was alloc'd at
==3846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3846== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3846== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3846== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3846== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==3846== Invalid read of size 8
==3846== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3846== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3846== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3846== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Address 0x80f8a20 is 16 bytes inside a block of size 80 free'd
==3846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3846== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3846== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3846== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3846== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3846== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3846== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3846== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3846== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3846== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Block was alloc'd at
==3846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3846== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3846== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3846== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3846== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==3846== Invalid read of size 8
==3846== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3846== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3846== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3846== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Address 0x80f8a10 is 0 bytes inside a block of size 80 free'd
==3846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3846== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3846== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3846== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3846== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3846== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3846== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3846== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3846== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3846== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Block was alloc'd at
==3846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3846== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3846== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3846== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3846== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==3846== Invalid read of size 8
==3846== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3846== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3846== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3846== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Address 0x80f8a10 is 0 bytes inside a block of size 80 free'd
==3846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3846== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3846== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3846== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3846== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3846== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3846== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3846== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3846== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3846== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Block was alloc'd at
==3846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3846== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3846== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3846== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3846== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==3846== Invalid read of size 8
==3846== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3846== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3846== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3846== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Address 0x80f8a40 is 48 bytes inside a block of size 80 free'd
==3846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3846== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3846== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3846== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3846== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3846== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3846== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3846== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3846== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3846== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Block was alloc'd at
==3846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3846== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3846== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3846== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3846== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==3846== Invalid read of size 8
==3846== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3846== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3846== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3846== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Address 0x80f8a28 is 24 bytes inside a block of size 80 free'd
==3846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3846== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3846== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3846== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3846== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3846== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3846== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3846== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3846== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3846== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Block was alloc'd at
==3846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3846== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3846== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3846== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3846== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==3846== Invalid read of size 8
==3846== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3846== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3846== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3846== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Address 0x80f8a18 is 8 bytes inside a block of size 80 free'd
==3846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3846== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3846== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3846== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3846== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3846== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3846== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3846== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3846== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3846== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Block was alloc'd at
==3846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3846== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3846== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3846== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3846== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==3846== Invalid read of size 8
==3846== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3846== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3846== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3846== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Address 0x80f8a18 is 8 bytes inside a block of size 80 free'd
==3846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3846== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3846== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3846== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3846== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3846== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3846== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3846== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3846== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3846== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Block was alloc'd at
==3846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3846== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3846== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3846== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3846== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==3846== Invalid read of size 8
==3846== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3846== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3846== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3846== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Address 0x80f8a58 is 72 bytes inside a block of size 80 free'd
==3846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3846== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3846== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3846== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3846== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3846== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3846== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3846== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3846== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3846== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3846== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3846== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3846== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846== Block was alloc'd at
==3846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3846== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3846== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3846== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3846== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3846== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3846== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3846== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3846== by 0x41B68E: main (nginx.c:364)
==3846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==3868== Invalid read of size 8
==3868== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3868== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Address 0x80f8d20 is 32 bytes inside a block of size 96 free'd
==3868== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3868== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3868== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3868== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3868== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3868== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3868== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3868== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3868== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3868== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Block was alloc'd at
==3868== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3868== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3868== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3868== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3868== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3868== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==3868== Invalid read of size 8
==3868== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==3868== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Address 0x80f8ee0 is 96 bytes inside a block of size 104 free'd
==3868== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3868== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3868== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3868== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3868== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3868== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3868== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3868== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3868== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3868== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Block was alloc'd at
==3868== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3868== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3868== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3868== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3868== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3868== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==3868== Invalid read of size 8
==3868== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==3868== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Address 0x80f8fd0 is 80 bytes inside a block of size 368 free'd
==3868== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3868== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3868== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3868== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3868== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3868== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3868== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3868== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3868== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3868== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Block was alloc'd at
==3868== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3868== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3868== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3868== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3868== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3868== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==3868== Invalid read of size 8
==3868== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==3868== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==3868== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Address 0x80f9000 is 128 bytes inside a block of size 368 free'd
==3868== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3868== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3868== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3868== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3868== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3868== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3868== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3868== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3868== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3868== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Block was alloc'd at
==3868== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3868== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3868== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3868== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3868== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==3868== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==3868== Invalid read of size 8
==3868== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==3868== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Address 0x80f8d08 is 8 bytes inside a block of size 96 free'd
==3868== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3868== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3868== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3868== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3868== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3868== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3868== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3868== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3868== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3868== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Block was alloc'd at
==3868== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3868== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3868== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3868== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3868== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3868== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==3868== Invalid read of size 8
==3868== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==3868== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3868== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Address 0x80f8d08 is 8 bytes inside a block of size 96 free'd
==3868== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3868== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3868== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3868== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3868== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3868== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3868== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3868== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3868== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3868== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Block was alloc'd at
==3868== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3868== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3868== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3868== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3868== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==3868== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==3868== Invalid read of size 8
==3868== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3868== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3868== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Address 0x80f8b80 is 0 bytes inside a block of size 80 free'd
==3868== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3868== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3868== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3868== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3868== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3868== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3868== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3868== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3868== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3868== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Block was alloc'd at
==3868== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3868== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3868== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3868== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3868== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==3868== Invalid read of size 8
==3868== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==3868== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3868== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3868== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Address 0x80f8b90 is 16 bytes inside a block of size 80 free'd
==3868== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3868== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3868== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3868== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3868== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3868== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3868== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3868== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3868== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3868== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Block was alloc'd at
==3868== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3868== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3868== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3868== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3868== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==3868== Invalid read of size 8
==3868== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==3868== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3868== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3868== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Address 0x80f8b80 is 0 bytes inside a block of size 80 free'd
==3868== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3868== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3868== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3868== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3868== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3868== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3868== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3868== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3868== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3868== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Block was alloc'd at
==3868== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3868== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3868== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3868== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3868== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==3868== Invalid read of size 8
==3868== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==3868== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3868== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3868== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Address 0x80f8b80 is 0 bytes inside a block of size 80 free'd
==3868== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3868== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3868== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3868== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3868== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3868== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3868== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3868== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3868== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3868== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Block was alloc'd at
==3868== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3868== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3868== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3868== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3868== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==3868== Invalid read of size 8
==3868== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==3868== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3868== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3868== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Address 0x80f8bb0 is 48 bytes inside a block of size 80 free'd
==3868== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3868== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3868== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3868== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3868== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3868== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3868== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3868== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3868== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3868== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Block was alloc'd at
==3868== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3868== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3868== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3868== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3868== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==3868== Invalid read of size 8
==3868== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==3868== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3868== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3868== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Address 0x80f8b98 is 24 bytes inside a block of size 80 free'd
==3868== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3868== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3868== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3868== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3868== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3868== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3868== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3868== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3868== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3868== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Block was alloc'd at
==3868== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3868== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3868== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3868== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3868== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==3868== Invalid read of size 8
==3868== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==3868== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3868== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3868== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Address 0x80f8b88 is 8 bytes inside a block of size 80 free'd
==3868== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3868== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3868== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3868== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3868== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3868== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3868== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3868== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3868== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3868== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Block was alloc'd at
==3868== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3868== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3868== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3868== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3868== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==3868== Invalid read of size 8
==3868== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==3868== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3868== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3868== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Address 0x80f8b88 is 8 bytes inside a block of size 80 free'd
==3868== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3868== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3868== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3868== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3868== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3868== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3868== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3868== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3868== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3868== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Block was alloc'd at
==3868== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3868== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3868== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3868== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3868== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==3868== Invalid read of size 8
==3868== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==3868== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==3868== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==3868== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Address 0x80f8bc8 is 72 bytes inside a block of size 80 free'd
==3868== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==3868== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==3868== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==3868== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==3868== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==3868== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==3868== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==3868== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==3868== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==3868== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==3868== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==3868== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==3868== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868== Block was alloc'd at
==3868== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==3868== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==3868== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==3868== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==3868== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==3868== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==3868== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==3868== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==3868== by 0x41B68E: main (nginx.c:364)
==3868==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==4269== Invalid read of size 8
==4269== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==4269== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Address 0x8161510 is 32 bytes inside a block of size 96 free'd
==4269== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4269== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4269== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4269== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4269== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4269== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Block was alloc'd at
==4269== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4269== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4269== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4269== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4269== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4269== by 0x4F6E42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==4269== by 0x51097C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4269== Invalid read of size 8
==4269== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==4269== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Address 0x8161640 is 96 bytes inside a block of size 104 free'd
==4269== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4269== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4269== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4269== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4269== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4269== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Block was alloc'd at
==4269== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4269== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4269== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4269== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4269== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4269== by 0x4F6E5E: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085)
==4269== by 0x51097C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4269== Invalid read of size 8
==4269== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==4269== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Address 0x8161730 is 80 bytes inside a block of size 368 free'd
==4269== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4269== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4269== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4269== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4269== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4269== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Block was alloc'd at
==4269== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4269== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4269== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4269== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4269== by 0x510A1F: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==4269== by 0x510A1F: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4269== Invalid read of size 8
==4269== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==4269== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==4269== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Address 0x8161760 is 128 bytes inside a block of size 368 free'd
==4269== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4269== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4269== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4269== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4269== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4269== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Block was alloc'd at
==4269== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4269== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4269== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4269== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4269== by 0x510A1F: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==4269== by 0x510A1F: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4269== Invalid read of size 8
==4269== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==4269== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Address 0x81614f8 is 8 bytes inside a block of size 96 free'd
==4269== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4269== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4269== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4269== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4269== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4269== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Block was alloc'd at
==4269== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4269== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4269== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4269== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4269== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4269== by 0x4F6E42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==4269== by 0x51097C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4269== Invalid read of size 8
==4269== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Address 0x81614f8 is 8 bytes inside a block of size 96 free'd
==4269== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4269== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4269== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4269== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4269== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4269== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Block was alloc'd at
==4269== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4269== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4269== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4269== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4269== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4269== by 0x4F6E42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==4269== by 0x51097C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4269== Invalid read of size 8
==4269== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Address 0x8161410 is 0 bytes inside a block of size 80 free'd
==4269== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4269== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4269== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4269== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4269== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4269== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Block was alloc'd at
==4269== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4269== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4269== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4269== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4269== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4269== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4269== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4269== Invalid read of size 8
==4269== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==4269== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Address 0x8161420 is 16 bytes inside a block of size 80 free'd
==4269== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4269== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4269== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4269== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4269== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4269== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Block was alloc'd at
==4269== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4269== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4269== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4269== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4269== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4269== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4269== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4269== Invalid read of size 8
==4269== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==4269== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Address 0x8161410 is 0 bytes inside a block of size 80 free'd
==4269== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4269== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4269== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4269== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4269== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4269== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Block was alloc'd at
==4269== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4269== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4269== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4269== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4269== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4269== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4269== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4269== Invalid read of size 8
==4269== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==4269== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Address 0x8161410 is 0 bytes inside a block of size 80 free'd
==4269== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4269== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4269== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4269== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4269== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4269== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Block was alloc'd at
==4269== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4269== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4269== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4269== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4269== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4269== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4269== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4269== Invalid read of size 8
==4269== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==4269== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Address 0x8161440 is 48 bytes inside a block of size 80 free'd
==4269== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4269== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4269== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4269== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4269== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4269== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Block was alloc'd at
==4269== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4269== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4269== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4269== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4269== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4269== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4269== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4269== Invalid read of size 8
==4269== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==4269== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Address 0x8161428 is 24 bytes inside a block of size 80 free'd
==4269== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4269== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4269== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4269== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4269== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4269== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Block was alloc'd at
==4269== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4269== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4269== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4269== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4269== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4269== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4269== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4269== Invalid read of size 8
==4269== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==4269== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Address 0x8161418 is 8 bytes inside a block of size 80 free'd
==4269== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4269== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4269== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4269== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4269== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4269== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Block was alloc'd at
==4269== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4269== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4269== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4269== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4269== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4269== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4269== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4269== Invalid read of size 8
==4269== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==4269== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Address 0x8161418 is 8 bytes inside a block of size 80 free'd
==4269== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4269== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4269== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4269== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4269== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4269== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Block was alloc'd at
==4269== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4269== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4269== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4269== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4269== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4269== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4269== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4269== Invalid read of size 8
==4269== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==4269== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Address 0x8161458 is 72 bytes inside a block of size 80 free'd
==4269== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4269== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4269== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4269== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4269== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4269== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4269== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4269== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269== Block was alloc'd at
==4269== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4269== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4269== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4269== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4269== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4269== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4269== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4269== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4269== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4269== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4269== by 0x41B68E: main (nginx.c:364)
==4269==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4688== Invalid read of size 8
==4688== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==4688== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Address 0x8160430 is 32 bytes inside a block of size 96 free'd
==4688== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4688== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4688== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4688== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4688== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4688== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Block was alloc'd at
==4688== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4688== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4688== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4688== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4688== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4688== by 0x4F6E42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==4688== by 0x51097C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4688== Invalid read of size 8
==4688== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==4688== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Address 0x8160560 is 96 bytes inside a block of size 104 free'd
==4688== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4688== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4688== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4688== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4688== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4688== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Block was alloc'd at
==4688== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4688== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4688== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4688== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4688== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4688== by 0x4F6E5E: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085)
==4688== by 0x51097C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4688== Invalid read of size 8
==4688== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==4688== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Address 0x8160650 is 80 bytes inside a block of size 368 free'd
==4688== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4688== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4688== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4688== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4688== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4688== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Block was alloc'd at
==4688== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4688== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4688== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4688== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4688== by 0x510A1F: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==4688== by 0x510A1F: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4688== Invalid read of size 8
==4688== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==4688== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==4688== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Address 0x8160680 is 128 bytes inside a block of size 368 free'd
==4688== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4688== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4688== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4688== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4688== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4688== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Block was alloc'd at
==4688== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4688== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4688== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4688== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4688== by 0x510A1F: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==4688== by 0x510A1F: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4688== Invalid read of size 8
==4688== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==4688== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Address 0x8160418 is 8 bytes inside a block of size 96 free'd
==4688== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4688== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4688== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4688== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4688== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4688== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Block was alloc'd at
==4688== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4688== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4688== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4688== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4688== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4688== by 0x4F6E42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==4688== by 0x51097C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4688== Invalid read of size 8
==4688== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Address 0x8160418 is 8 bytes inside a block of size 96 free'd
==4688== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4688== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4688== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4688== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4688== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4688== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Block was alloc'd at
==4688== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4688== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4688== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4688== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4688== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4688== by 0x4F6E42: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==4688== by 0x51097C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4688== Invalid read of size 8
==4688== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Address 0x8160330 is 0 bytes inside a block of size 80 free'd
==4688== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4688== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4688== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4688== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4688== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4688== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Block was alloc'd at
==4688== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4688== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4688== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4688== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4688== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4688== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4688== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4688== Invalid read of size 8
==4688== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==4688== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Address 0x8160340 is 16 bytes inside a block of size 80 free'd
==4688== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4688== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4688== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4688== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4688== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4688== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Block was alloc'd at
==4688== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4688== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4688== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4688== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4688== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4688== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4688== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4688== Invalid read of size 8
==4688== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==4688== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Address 0x8160330 is 0 bytes inside a block of size 80 free'd
==4688== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4688== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4688== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4688== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4688== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4688== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Block was alloc'd at
==4688== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4688== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4688== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4688== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4688== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4688== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4688== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4688== Invalid read of size 8
==4688== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==4688== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Address 0x8160330 is 0 bytes inside a block of size 80 free'd
==4688== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4688== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4688== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4688== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4688== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4688== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Block was alloc'd at
==4688== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4688== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4688== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4688== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4688== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4688== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4688== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4688== Invalid read of size 8
==4688== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==4688== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Address 0x8160360 is 48 bytes inside a block of size 80 free'd
==4688== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4688== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4688== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4688== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4688== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4688== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Block was alloc'd at
==4688== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4688== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4688== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4688== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4688== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4688== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4688== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4688== Invalid read of size 8
==4688== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==4688== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Address 0x8160348 is 24 bytes inside a block of size 80 free'd
==4688== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4688== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4688== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4688== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4688== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4688== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Block was alloc'd at
==4688== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4688== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4688== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4688== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4688== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4688== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4688== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4688== Invalid read of size 8
==4688== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==4688== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Address 0x8160338 is 8 bytes inside a block of size 80 free'd
==4688== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4688== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4688== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4688== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4688== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4688== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Block was alloc'd at
==4688== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4688== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4688== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4688== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4688== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4688== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4688== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4688== Invalid read of size 8
==4688== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==4688== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Address 0x8160338 is 8 bytes inside a block of size 80 free'd
==4688== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4688== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4688== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4688== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4688== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4688== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Block was alloc'd at
==4688== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4688== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4688== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4688== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4688== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4688== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4688== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 ==4688== Invalid read of size 8
==4688== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==4688== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x510D17: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Address 0x8160378 is 72 bytes inside a block of size 80 free'd
==4688== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==4688== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==4688== by 0x4F54B6: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==4688== by 0x4F54CD: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==4688== by 0x4F5615: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==4688== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==4688== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==4688== by 0x510D0C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688== Block was alloc'd at
==4688== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==4688== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==4688== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==4688== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==4688== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==4688== by 0x4F6DD5: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==4688== by 0x51093B: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==4688== by 0x43A73A: ngx_event_expire_timers (ngx_event_timer.c:97)
==4688== by 0x43A34A: ngx_process_events_and_timers (ngx_event.c:256)
==4688== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==4688== by 0x41B68E: main (nginx.c:364)
==4688==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
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 1: kill pending sleep ==5939== Invalid read of size 8
==5939== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==5939== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Address 0x80f8e10 is 32 bytes inside a block of size 96 free'd
==5939== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5939== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5939== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5939== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5939== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5939== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5939== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5939== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5939== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5939== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Block was alloc'd at
==5939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5939== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5939== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5939== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5939== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==5939== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==5939== Invalid read of size 8
==5939== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==5939== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Address 0x80f8fd0 is 96 bytes inside a block of size 104 free'd
==5939== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5939== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5939== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5939== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5939== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5939== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5939== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5939== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5939== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5939== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Block was alloc'd at
==5939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5939== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5939== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5939== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5939== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==5939== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==5939== Invalid read of size 8
==5939== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==5939== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Address 0x80f90c0 is 80 bytes inside a block of size 368 free'd
==5939== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5939== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5939== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5939== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5939== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5939== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5939== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5939== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5939== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5939== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Block was alloc'd at
==5939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5939== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5939== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5939== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5939== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==5939== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==5939== Invalid read of size 8
==5939== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==5939== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==5939== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Address 0x80f90f0 is 128 bytes inside a block of size 368 free'd
==5939== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5939== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5939== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5939== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5939== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5939== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5939== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5939== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5939== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5939== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Block was alloc'd at
==5939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5939== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5939== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5939== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5939== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==5939== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==5939== Invalid read of size 8
==5939== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==5939== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Address 0x80f8df8 is 8 bytes inside a block of size 96 free'd
==5939== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5939== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5939== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5939== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5939== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5939== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5939== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5939== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5939== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5939== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Block was alloc'd at
==5939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5939== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5939== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5939== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5939== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==5939== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==5939== Invalid read of size 8
==5939== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==5939== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5939== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Address 0x80f8df8 is 8 bytes inside a block of size 96 free'd
==5939== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5939== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5939== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5939== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5939== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5939== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5939== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5939== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5939== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5939== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Block was alloc'd at
==5939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5939== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5939== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5939== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5939== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==5939== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==5939== Invalid read of size 8
==5939== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5939== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5939== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Address 0x80f8c70 is 0 bytes inside a block of size 80 free'd
==5939== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5939== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5939== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5939== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5939== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5939== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5939== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5939== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5939== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5939== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Block was alloc'd at
==5939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5939== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5939== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5939== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5939== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==5939== Invalid read of size 8
==5939== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==5939== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5939== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5939== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Address 0x80f8c80 is 16 bytes inside a block of size 80 free'd
==5939== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5939== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5939== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5939== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5939== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5939== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5939== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5939== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5939== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5939== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Block was alloc'd at
==5939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5939== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5939== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5939== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5939== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==5939== Invalid read of size 8
==5939== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==5939== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5939== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5939== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Address 0x80f8c70 is 0 bytes inside a block of size 80 free'd
==5939== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5939== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5939== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5939== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5939== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5939== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5939== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5939== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5939== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5939== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Block was alloc'd at
==5939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5939== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5939== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5939== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5939== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==5939== Invalid read of size 8
==5939== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==5939== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5939== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5939== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Address 0x80f8c70 is 0 bytes inside a block of size 80 free'd
==5939== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5939== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5939== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5939== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5939== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5939== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5939== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5939== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5939== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5939== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Block was alloc'd at
==5939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5939== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5939== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5939== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5939== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==5939== Invalid read of size 8
==5939== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==5939== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5939== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5939== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Address 0x80f8ca0 is 48 bytes inside a block of size 80 free'd
==5939== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5939== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5939== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5939== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5939== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5939== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5939== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5939== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5939== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5939== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Block was alloc'd at
==5939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5939== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5939== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5939== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5939== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==5939== Invalid read of size 8
==5939== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==5939== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5939== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5939== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Address 0x80f8c88 is 24 bytes inside a block of size 80 free'd
==5939== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5939== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5939== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5939== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5939== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5939== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5939== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5939== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5939== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5939== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Block was alloc'd at
==5939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5939== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5939== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5939== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5939== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==5939== Invalid read of size 8
==5939== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==5939== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5939== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5939== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Address 0x80f8c78 is 8 bytes inside a block of size 80 free'd
==5939== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5939== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5939== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5939== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5939== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5939== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5939== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5939== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5939== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5939== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Block was alloc'd at
==5939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5939== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5939== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5939== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5939== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==5939== Invalid read of size 8
==5939== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==5939== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5939== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5939== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Address 0x80f8c78 is 8 bytes inside a block of size 80 free'd
==5939== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5939== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5939== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5939== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5939== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5939== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5939== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5939== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5939== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5939== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Block was alloc'd at
==5939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5939== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5939== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5939== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5939== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==5939== Invalid read of size 8
==5939== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==5939== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5939== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5939== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Address 0x80f8cb8 is 72 bytes inside a block of size 80 free'd
==5939== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5939== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5939== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5939== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5939== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5939== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5939== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5939== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5939== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5939== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5939== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5939== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5939== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939== Block was alloc'd at
==5939== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5939== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5939== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5939== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5939== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5939== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5939== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5939== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5939== by 0x41B68E: main (nginx.c:364)
==5939==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==5950== Invalid read of size 8
==5950== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==5950== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Address 0x80f8aa0 is 32 bytes inside a block of size 96 free'd
==5950== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5950== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5950== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5950== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5950== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5950== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5950== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5950== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5950== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5950== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Block was alloc'd at
==5950== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5950== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5950== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5950== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5950== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==5950== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==5950== Invalid read of size 8
==5950== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==5950== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Address 0x80f8c60 is 96 bytes inside a block of size 104 free'd
==5950== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5950== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5950== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5950== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5950== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5950== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5950== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5950== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5950== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5950== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Block was alloc'd at
==5950== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5950== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5950== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5950== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5950== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==5950== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==5950== Invalid read of size 8
==5950== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==5950== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Address 0x80f8d50 is 80 bytes inside a block of size 368 free'd
==5950== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5950== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5950== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5950== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5950== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5950== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5950== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5950== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5950== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5950== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Block was alloc'd at
==5950== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5950== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5950== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5950== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5950== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==5950== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==5950== Invalid read of size 8
==5950== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==5950== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==5950== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Address 0x80f8d80 is 128 bytes inside a block of size 368 free'd
==5950== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5950== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5950== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5950== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5950== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5950== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5950== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5950== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5950== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5950== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Block was alloc'd at
==5950== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5950== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5950== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5950== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5950== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==5950== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==5950== Invalid read of size 8
==5950== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==5950== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Address 0x80f8a88 is 8 bytes inside a block of size 96 free'd
==5950== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5950== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5950== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5950== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5950== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5950== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5950== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5950== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5950== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5950== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Block was alloc'd at
==5950== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5950== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5950== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5950== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5950== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==5950== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==5950== Invalid read of size 8
==5950== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==5950== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5950== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Address 0x80f8a88 is 8 bytes inside a block of size 96 free'd
==5950== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5950== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5950== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5950== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5950== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5950== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5950== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5950== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5950== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5950== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Block was alloc'd at
==5950== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5950== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5950== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5950== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5950== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==5950== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==5950== Invalid read of size 8
==5950== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5950== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5950== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Address 0x80f8900 is 0 bytes inside a block of size 80 free'd
==5950== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5950== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5950== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5950== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5950== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5950== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5950== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5950== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5950== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5950== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Block was alloc'd at
==5950== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5950== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5950== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5950== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5950== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==5950== Invalid read of size 8
==5950== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==5950== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5950== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5950== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Address 0x80f8910 is 16 bytes inside a block of size 80 free'd
==5950== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5950== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5950== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5950== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5950== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5950== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5950== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5950== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5950== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5950== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Block was alloc'd at
==5950== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5950== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5950== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5950== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5950== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==5950== Invalid read of size 8
==5950== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==5950== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5950== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5950== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Address 0x80f8900 is 0 bytes inside a block of size 80 free'd
==5950== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5950== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5950== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5950== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5950== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5950== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5950== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5950== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5950== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5950== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Block was alloc'd at
==5950== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5950== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5950== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5950== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5950== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==5950== Invalid read of size 8
==5950== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==5950== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5950== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5950== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Address 0x80f8900 is 0 bytes inside a block of size 80 free'd
==5950== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5950== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5950== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5950== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5950== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5950== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5950== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5950== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5950== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5950== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Block was alloc'd at
==5950== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5950== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5950== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5950== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5950== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==5950== Invalid read of size 8
==5950== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==5950== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5950== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5950== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Address 0x80f8930 is 48 bytes inside a block of size 80 free'd
==5950== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5950== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5950== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5950== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5950== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5950== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5950== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5950== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5950== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5950== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Block was alloc'd at
==5950== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5950== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5950== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5950== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5950== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==5950== Invalid read of size 8
==5950== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==5950== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5950== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5950== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Address 0x80f8918 is 24 bytes inside a block of size 80 free'd
==5950== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5950== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5950== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5950== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5950== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5950== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5950== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5950== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5950== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5950== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Block was alloc'd at
==5950== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5950== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5950== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5950== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5950== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==5950== Invalid read of size 8
==5950== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==5950== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5950== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5950== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Address 0x80f8908 is 8 bytes inside a block of size 80 free'd
==5950== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5950== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5950== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5950== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5950== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5950== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5950== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5950== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5950== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5950== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Block was alloc'd at
==5950== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5950== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5950== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5950== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5950== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==5950== Invalid read of size 8
==5950== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==5950== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5950== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5950== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Address 0x80f8908 is 8 bytes inside a block of size 80 free'd
==5950== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5950== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5950== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5950== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5950== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5950== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5950== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5950== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5950== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5950== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Block was alloc'd at
==5950== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5950== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5950== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5950== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5950== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==5950== Invalid read of size 8
==5950== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==5950== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5950== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5950== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Address 0x80f8948 is 72 bytes inside a block of size 80 free'd
==5950== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5950== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5950== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5950== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5950== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5950== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5950== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5950== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5950== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5950== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5950== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5950== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5950== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950== Block was alloc'd at
==5950== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5950== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5950== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5950== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5950== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5950== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5950== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5950== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5950== by 0x41B68E: main (nginx.c:364)
==5950==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==5972== Invalid read of size 8
==5972== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==5972== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Address 0x80f8e60 is 32 bytes inside a block of size 96 free'd
==5972== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5972== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5972== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5972== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5972== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5972== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5972== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5972== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5972== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5972== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Block was alloc'd at
==5972== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5972== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5972== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5972== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5972== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==5972== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==5972== Invalid read of size 8
==5972== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==5972== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Address 0x80f9020 is 96 bytes inside a block of size 104 free'd
==5972== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5972== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5972== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5972== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5972== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5972== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5972== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5972== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5972== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5972== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Block was alloc'd at
==5972== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5972== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5972== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5972== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5972== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==5972== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==5972== Invalid read of size 8
==5972== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==5972== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Address 0x80f9110 is 80 bytes inside a block of size 368 free'd
==5972== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5972== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5972== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5972== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5972== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5972== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5972== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5972== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5972== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5972== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Block was alloc'd at
==5972== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5972== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5972== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5972== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5972== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==5972== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==5972== Invalid read of size 8
==5972== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==5972== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==5972== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Address 0x80f9140 is 128 bytes inside a block of size 368 free'd
==5972== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5972== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5972== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5972== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5972== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5972== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5972== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5972== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5972== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5972== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Block was alloc'd at
==5972== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5972== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5972== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5972== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5972== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==5972== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==5972== Invalid read of size 8
==5972== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==5972== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Address 0x80f8e48 is 8 bytes inside a block of size 96 free'd
==5972== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5972== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5972== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5972== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5972== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5972== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5972== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5972== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5972== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5972== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Block was alloc'd at
==5972== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5972== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5972== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5972== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5972== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==5972== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==5972== Invalid read of size 8
==5972== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==5972== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5972== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Address 0x80f8e48 is 8 bytes inside a block of size 96 free'd
==5972== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5972== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5972== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5972== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5972== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5972== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5972== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5972== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5972== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5972== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Block was alloc'd at
==5972== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5972== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5972== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5972== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5972== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==5972== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==5972== Invalid read of size 8
==5972== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5972== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5972== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Address 0x80f8cc0 is 0 bytes inside a block of size 80 free'd
==5972== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5972== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5972== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5972== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5972== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5972== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5972== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5972== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5972== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5972== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Block was alloc'd at
==5972== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5972== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5972== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5972== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5972== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==5972== Invalid read of size 8
==5972== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==5972== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5972== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5972== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Address 0x80f8cd0 is 16 bytes inside a block of size 80 free'd
==5972== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5972== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5972== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5972== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5972== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5972== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5972== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5972== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5972== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5972== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Block was alloc'd at
==5972== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5972== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5972== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5972== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5972== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==5972== Invalid read of size 8
==5972== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==5972== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5972== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5972== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Address 0x80f8cc0 is 0 bytes inside a block of size 80 free'd
==5972== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5972== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5972== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5972== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5972== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5972== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5972== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5972== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5972== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5972== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Block was alloc'd at
==5972== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5972== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5972== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5972== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5972== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==5972== Invalid read of size 8
==5972== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==5972== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5972== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5972== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Address 0x80f8cc0 is 0 bytes inside a block of size 80 free'd
==5972== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5972== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5972== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5972== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5972== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5972== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5972== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5972== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5972== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5972== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Block was alloc'd at
==5972== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5972== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5972== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5972== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5972== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==5972== Invalid read of size 8
==5972== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==5972== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5972== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5972== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Address 0x80f8cf0 is 48 bytes inside a block of size 80 free'd
==5972== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5972== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5972== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5972== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5972== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5972== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5972== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5972== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5972== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5972== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Block was alloc'd at
==5972== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5972== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5972== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5972== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5972== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==5972== Invalid read of size 8
==5972== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==5972== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5972== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5972== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Address 0x80f8cd8 is 24 bytes inside a block of size 80 free'd
==5972== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5972== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5972== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5972== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5972== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5972== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5972== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5972== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5972== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5972== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Block was alloc'd at
==5972== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5972== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5972== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5972== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5972== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==5972== Invalid read of size 8
==5972== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==5972== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5972== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5972== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Address 0x80f8cc8 is 8 bytes inside a block of size 80 free'd
==5972== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5972== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5972== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5972== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5972== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5972== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5972== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5972== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5972== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5972== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Block was alloc'd at
==5972== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5972== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5972== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5972== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5972== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==5972== Invalid read of size 8
==5972== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==5972== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5972== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5972== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Address 0x80f8cc8 is 8 bytes inside a block of size 80 free'd
==5972== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5972== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5972== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5972== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5972== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5972== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5972== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5972== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5972== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5972== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Block was alloc'd at
==5972== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5972== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5972== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5972== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5972== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==5972== Invalid read of size 8
==5972== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==5972== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5972== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5972== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Address 0x80f8d08 is 72 bytes inside a block of size 80 free'd
==5972== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5972== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5972== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5972== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5972== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5972== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5972== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5972== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5972== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5972== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5972== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5972== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5972== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972== Block was alloc'd at
==5972== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5972== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5972== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5972== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5972== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5972== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5972== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5972== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5972== by 0x41B68E: main (nginx.c:364)
==5972==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==5983== Invalid read of size 8
==5983== at 0x4F73F2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==5983== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Address 0x810c770 is 32 bytes inside a block of size 96 free'd
==5983== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5983== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5983== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5983== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5983== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5983== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5983== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5983== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5983== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5983== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Block was alloc'd at
==5983== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5983== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5983== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5983== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5983== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==5983== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==5983== Invalid read of size 8
==5983== at 0x4F73FD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==5983== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Address 0x810c930 is 96 bytes inside a block of size 104 free'd
==5983== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5983== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5983== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5983== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5983== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5983== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5983== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5983== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5983== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5983== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Block was alloc'd at
==5983== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5983== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5983== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5983== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5983== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==5983== by 0x499A9A: ngx_stream_init_session (ngx_stream_handler.c:238)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==5983== Invalid read of size 8
==5983== at 0x4F7406: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==5983== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Address 0x810ca20 is 80 bytes inside a block of size 368 free'd
==5983== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5983== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5983== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5983== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5983== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5983== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5983== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5983== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5983== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5983== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Block was alloc'd at
==5983== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5983== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5983== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5983== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5983== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==5983== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==5983== Invalid read of size 8
==5983== at 0x4F740F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==5983== by 0x4F740F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==5983== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Address 0x810ca50 is 128 bytes inside a block of size 368 free'd
==5983== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5983== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5983== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5983== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5983== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5983== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5983== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5983== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5983== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5983== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Block was alloc'd at
==5983== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5983== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5983== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5983== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5983== by 0x4F3D39: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==5983== by 0x4F3D39: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==5983== Invalid read of size 8
==5983== at 0x4F7425: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==5983== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Address 0x810c758 is 8 bytes inside a block of size 96 free'd
==5983== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5983== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5983== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5983== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5983== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5983== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5983== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5983== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5983== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5983== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Block was alloc'd at
==5983== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5983== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5983== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5983== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5983== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==5983== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==5983== Invalid read of size 8
==5983== at 0x4F54E9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==5983== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5983== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Address 0x810c758 is 8 bytes inside a block of size 96 free'd
==5983== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5983== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5983== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5983== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5983== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5983== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5983== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5983== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5983== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5983== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Block was alloc'd at
==5983== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5983== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5983== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5983== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5983== by 0x41CF53: ngx_pcalloc (ngx_palloc.c:218)
==5983== by 0x499D43: ngx_stream_init_connection (ngx_stream_handler.c:121)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==5983== Invalid read of size 8
==5983== at 0x4F54F1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5983== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5983== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Address 0x810c5d0 is 0 bytes inside a block of size 80 free'd
==5983== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5983== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5983== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5983== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5983== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5983== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5983== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5983== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5983== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5983== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Block was alloc'd at
==5983== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5983== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5983== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5983== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5983== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==5983== Invalid read of size 8
==5983== at 0x41C142: ngx_log_error_core (ngx_log.c:126)
==5983== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5983== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5983== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Address 0x810c5e0 is 16 bytes inside a block of size 80 free'd
==5983== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5983== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5983== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5983== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5983== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5983== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5983== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5983== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5983== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5983== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Block was alloc'd at
==5983== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5983== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5983== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5983== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5983== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==5983== Invalid read of size 8
==5983== at 0x41C212: ngx_log_error_core (ngx_log.c:159)
==5983== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5983== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5983== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Address 0x810c5d0 is 0 bytes inside a block of size 80 free'd
==5983== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5983== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5983== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5983== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5983== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5983== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5983== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5983== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5983== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5983== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Block was alloc'd at
==5983== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5983== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5983== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5983== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5983== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==5983== Invalid read of size 8
==5983== at 0x41C236: ngx_log_error_core (ngx_log.c:163)
==5983== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5983== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5983== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Address 0x810c5d0 is 0 bytes inside a block of size 80 free'd
==5983== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5983== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5983== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5983== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5983== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5983== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5983== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5983== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5983== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5983== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Block was alloc'd at
==5983== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5983== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5983== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5983== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5983== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==5983== Invalid read of size 8
==5983== at 0x41C240: ngx_log_error_core (ngx_log.c:167)
==5983== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5983== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5983== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Address 0x810c600 is 48 bytes inside a block of size 80 free'd
==5983== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5983== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5983== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5983== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5983== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5983== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5983== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5983== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5983== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5983== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Block was alloc'd at
==5983== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5983== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5983== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5983== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5983== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==5983== Invalid read of size 8
==5983== at 0x41C263: ngx_log_error_core (ngx_log.c:172)
==5983== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5983== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5983== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Address 0x810c5e8 is 24 bytes inside a block of size 80 free'd
==5983== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5983== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5983== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5983== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5983== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5983== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5983== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5983== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5983== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5983== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Block was alloc'd at
==5983== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5983== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5983== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5983== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5983== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==5983== Invalid read of size 8
==5983== at 0x41C269: ngx_log_error_core (ngx_log.c:183)
==5983== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5983== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5983== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Address 0x810c5d8 is 8 bytes inside a block of size 80 free'd
==5983== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5983== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5983== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5983== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5983== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5983== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5983== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5983== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5983== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5983== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Block was alloc'd at
==5983== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5983== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5983== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5983== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5983== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==5983== Invalid read of size 8
==5983== at 0x41C298: ngx_log_error_core (ngx_log.c:189)
==5983== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5983== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5983== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Address 0x810c5d8 is 8 bytes inside a block of size 80 free'd
==5983== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5983== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5983== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5983== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5983== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5983== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5983== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5983== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5983== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5983== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Block was alloc'd at
==5983== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5983== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5983== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5983== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5983== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==5983== Invalid read of size 8
==5983== at 0x41C2A8: ngx_log_error_core (ngx_log.c:195)
==5983== by 0x4F5515: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==5983== by 0x4F7993: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==5983== by 0x4F3EED: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Address 0x810c618 is 72 bytes inside a block of size 80 free'd
==5983== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==5983== by 0x41CD91: ngx_destroy_pool (ngx_palloc.c:79)
==5983== by 0x499A43: ngx_stream_close_connection (ngx_stream_handler.c:323)
==5983== by 0x4F7156: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==5983== by 0x4F7986: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==5983== by 0x4F7986: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==5983== by 0x4F7A54: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==5983== by 0x4F3B03: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==5983== by 0x4F3BC2: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==5983== by 0x4F3EE2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==5983== by 0x499AB4: ngx_stream_init_session (ngx_stream_handler.c:244)
==5983== by 0x49A1B4: ngx_stream_init_connection (ngx_stream_handler.c:223)
==5983== by 0x43B23F: ngx_event_accept (ngx_event_accept.c:309)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983== Block was alloc'd at
==5983== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==5983== by 0x43DD91: ngx_alloc (ngx_alloc.c:22)
==5983== by 0x41CC02: ngx_malloc (ngx_palloc.c:140)
==5983== by 0x41CE2A: ngx_palloc (ngx_palloc.c:123)
==5983== by 0x43AF3B: ngx_event_accept (ngx_event_accept.c:175)
==5983== by 0x443E9A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==5983== by 0x43A2F0: ngx_process_events_and_timers (ngx_event.c:242)
==5983== by 0x442EC4: ngx_single_process_cycle (ngx_process_cycle.c:309)
==5983== by 0x41B68E: main (nginx.c:364)
==5983==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}

Expected Failures

File Name Details
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 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 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 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)
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)
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)
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)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'stream lua found 8185 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 8184 pending timers
'
expected: 'stream lua found 8191 pending timers
'
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
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

Warnings

Go back to the index page.