(This page was automatically generated by the tools in the opsboy project on 20:40:32 04-Nov-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