(This page was automatically generated by the tools in the opsboy project on 18:34:25 08-Apr-2017 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
72d8cf57 2016-11-08 20:36:06 GMT 390 14 94 7509 2545 sec

LuaJIT

LuaJIT 2.1.0-beta2, commit e244b1d

Compilation Errors

Unexpected Failures

File Name Details
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==7843== Invalid read of size 8
==7843== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Address 0x810cce0 is 32 bytes inside a block of size 96 free'd
==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Block was alloc'd at
==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7843== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7843== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843==
{
<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 ==7843== Invalid read of size 8
==7843== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Address 0x810cea0 is 96 bytes inside a block of size 104 free'd
==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Block was alloc'd at
==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7843== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7843== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843==
{
<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 ==7843== Invalid read of size 8
==7843== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Address 0x810cf90 is 80 bytes inside a block of size 368 free'd
==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Block was alloc'd at
==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7843== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7843== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843==
{
<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 ==7843== Invalid read of size 8
==7843== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7843== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Address 0x810f618 is 200 bytes inside a block of size 672 free'd
==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Block was alloc'd at
==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7843== by 0x41D445: ngx_list_init (ngx_list.h:39)
==7843== by 0x41D445: ngx_list_create (ngx_list.c:22)
==7843== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==7843== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==7843== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==7843== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==7843== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==7843== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843==
{
<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 ==7843== Invalid read of size 8
==7843== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Address 0x810ccc8 is 8 bytes inside a block of size 96 free'd
==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Block was alloc'd at
==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7843== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7843== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843==
{
<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 ==7843== Invalid read of size 8
==7843== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Address 0x810ccc8 is 8 bytes inside a block of size 96 free'd
==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Block was alloc'd at
==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7843== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7843== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843==
{
<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 ==7843== Invalid read of size 8
==7843== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Address 0x810cb40 is 0 bytes inside a block of size 80 free'd
==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Block was alloc'd at
==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843==
{
<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 ==7843== Invalid read of size 8
==7843== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==7843== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Address 0x810cb50 is 16 bytes inside a block of size 80 free'd
==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Block was alloc'd at
==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7843== Invalid read of size 8
==7843== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==7843== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Address 0x810cb40 is 0 bytes inside a block of size 80 free'd
==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Block was alloc'd at
==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7843== Invalid read of size 8
==7843== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==7843== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Address 0x810cb40 is 0 bytes inside a block of size 80 free'd
==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Block was alloc'd at
==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7843== Invalid read of size 8
==7843== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==7843== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Address 0x810cb70 is 48 bytes inside a block of size 80 free'd
==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Block was alloc'd at
==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7843== Invalid read of size 8
==7843== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==7843== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Address 0x810cb58 is 24 bytes inside a block of size 80 free'd
==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Block was alloc'd at
==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7843== Invalid read of size 8
==7843== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==7843== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Address 0x810cb48 is 8 bytes inside a block of size 80 free'd
==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Block was alloc'd at
==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7843== Invalid read of size 8
==7843== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==7843== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Address 0x810cb48 is 8 bytes inside a block of size 80 free'd
==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Block was alloc'd at
==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7843== Invalid read of size 8
==7843== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==7843== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7843== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7843== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Address 0x810cb88 is 72 bytes inside a block of size 80 free'd
==7843== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7843== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7843== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7843== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7843== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7843== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7843== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7843== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7843== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7843== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7843== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7843== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7843== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843== Block was alloc'd at
==7843== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7843== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7843== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7843== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7843== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7843== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7843== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7843== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7843== by 0x41B70E: main (nginx.c:364)
==7843==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7854== Invalid read of size 8
==7854== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Address 0x810c2a0 is 32 bytes inside a block of size 96 free'd
==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Block was alloc'd at
==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7854== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7854== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854==
{
<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 ==7854== Invalid read of size 8
==7854== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Address 0x810c460 is 96 bytes inside a block of size 104 free'd
==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Block was alloc'd at
==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7854== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7854== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854==
{
<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 ==7854== Invalid read of size 8
==7854== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Address 0x810c550 is 80 bytes inside a block of size 368 free'd
==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Block was alloc'd at
==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7854== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7854== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854==
{
<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 ==7854== Invalid read of size 8
==7854== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7854== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Address 0x810c580 is 128 bytes inside a block of size 368 free'd
==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Block was alloc'd at
==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7854== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7854== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854==
{
<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 ==7854== Invalid read of size 8
==7854== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Address 0x810c288 is 8 bytes inside a block of size 96 free'd
==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Block was alloc'd at
==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7854== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7854== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854==
{
<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 ==7854== Invalid read of size 8
==7854== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Address 0x810c288 is 8 bytes inside a block of size 96 free'd
==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Block was alloc'd at
==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7854== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7854== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854==
{
<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 ==7854== Invalid read of size 8
==7854== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Address 0x810c100 is 0 bytes inside a block of size 80 free'd
==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Block was alloc'd at
==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854==
{
<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 ==7854== Invalid read of size 8
==7854== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==7854== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Address 0x810c110 is 16 bytes inside a block of size 80 free'd
==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Block was alloc'd at
==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7854== Invalid read of size 8
==7854== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==7854== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Address 0x810c100 is 0 bytes inside a block of size 80 free'd
==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Block was alloc'd at
==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7854== Invalid read of size 8
==7854== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==7854== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Address 0x810c100 is 0 bytes inside a block of size 80 free'd
==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Block was alloc'd at
==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7854== Invalid read of size 8
==7854== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==7854== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Address 0x810c130 is 48 bytes inside a block of size 80 free'd
==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Block was alloc'd at
==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7854== Invalid read of size 8
==7854== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==7854== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Address 0x810c118 is 24 bytes inside a block of size 80 free'd
==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Block was alloc'd at
==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7854== Invalid read of size 8
==7854== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==7854== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Address 0x810c108 is 8 bytes inside a block of size 80 free'd
==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Block was alloc'd at
==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7854== Invalid read of size 8
==7854== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==7854== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Address 0x810c108 is 8 bytes inside a block of size 80 free'd
==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Block was alloc'd at
==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7854== Invalid read of size 8
==7854== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==7854== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7854== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7854== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Address 0x810c148 is 72 bytes inside a block of size 80 free'd
==7854== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7854== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7854== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7854== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7854== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7854== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7854== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7854== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7854== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7854== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7854== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7854== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7854== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854== Block was alloc'd at
==7854== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7854== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7854== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7854== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7854== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7854== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7854== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7854== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7854== by 0x41B70E: main (nginx.c:364)
==7854==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7865== Invalid read of size 8
==7865== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Address 0x810c330 is 32 bytes inside a block of size 96 free'd
==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Block was alloc'd at
==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7865== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7865== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865==
{
<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 ==7865== Invalid read of size 8
==7865== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Address 0x810c4f0 is 96 bytes inside a block of size 104 free'd
==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Block was alloc'd at
==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7865== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7865== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865==
{
<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 ==7865== Invalid read of size 8
==7865== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Address 0x810c5e0 is 80 bytes inside a block of size 368 free'd
==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Block was alloc'd at
==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7865== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7865== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865==
{
<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 ==7865== Invalid read of size 8
==7865== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7865== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Address 0x810c610 is 128 bytes inside a block of size 368 free'd
==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Block was alloc'd at
==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7865== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7865== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865==
{
<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 ==7865== Invalid read of size 8
==7865== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Address 0x810c318 is 8 bytes inside a block of size 96 free'd
==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Block was alloc'd at
==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7865== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7865== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865==
{
<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 ==7865== Invalid read of size 8
==7865== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Address 0x810c318 is 8 bytes inside a block of size 96 free'd
==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Block was alloc'd at
==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7865== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7865== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865==
{
<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 ==7865== Invalid read of size 8
==7865== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Address 0x810c190 is 0 bytes inside a block of size 80 free'd
==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Block was alloc'd at
==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865==
{
<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 ==7865== Invalid read of size 8
==7865== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==7865== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Address 0x810c1a0 is 16 bytes inside a block of size 80 free'd
==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Block was alloc'd at
==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7865== Invalid read of size 8
==7865== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==7865== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Address 0x810c190 is 0 bytes inside a block of size 80 free'd
==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Block was alloc'd at
==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7865== Invalid read of size 8
==7865== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==7865== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Address 0x810c190 is 0 bytes inside a block of size 80 free'd
==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Block was alloc'd at
==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7865== Invalid read of size 8
==7865== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==7865== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Address 0x810c1c0 is 48 bytes inside a block of size 80 free'd
==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Block was alloc'd at
==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7865== Invalid read of size 8
==7865== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==7865== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Address 0x810c1a8 is 24 bytes inside a block of size 80 free'd
==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Block was alloc'd at
==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7865== Invalid read of size 8
==7865== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==7865== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Address 0x810c198 is 8 bytes inside a block of size 80 free'd
==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Block was alloc'd at
==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7865== Invalid read of size 8
==7865== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==7865== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Address 0x810c198 is 8 bytes inside a block of size 80 free'd
==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Block was alloc'd at
==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7865== Invalid read of size 8
==7865== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==7865== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7865== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7865== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Address 0x810c1d8 is 72 bytes inside a block of size 80 free'd
==7865== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7865== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7865== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7865== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7865== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7865== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7865== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7865== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7865== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7865== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7865== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7865== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7865== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865== Block was alloc'd at
==7865== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7865== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7865== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7865== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7865== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7865== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7865== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7865== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7865== by 0x41B70E: main (nginx.c:364)
==7865==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7876== Invalid read of size 8
==7876== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Address 0x810c920 is 32 bytes inside a block of size 96 free'd
==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Block was alloc'd at
==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7876== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7876== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876==
{
<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 ==7876== Invalid read of size 8
==7876== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Address 0x810cae0 is 96 bytes inside a block of size 104 free'd
==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Block was alloc'd at
==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7876== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7876== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876==
{
<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 ==7876== Invalid read of size 8
==7876== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Address 0x810cbd0 is 80 bytes inside a block of size 368 free'd
==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Block was alloc'd at
==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7876== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7876== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876==
{
<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 ==7876== Invalid read of size 8
==7876== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7876== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Address 0x810cc00 is 128 bytes inside a block of size 368 free'd
==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Block was alloc'd at
==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7876== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7876== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876==
{
<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 ==7876== Invalid read of size 8
==7876== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Address 0x810c908 is 8 bytes inside a block of size 96 free'd
==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Block was alloc'd at
==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7876== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7876== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876==
{
<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 ==7876== Invalid read of size 8
==7876== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Address 0x810c908 is 8 bytes inside a block of size 96 free'd
==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Block was alloc'd at
==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7876== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7876== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876==
{
<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 ==7876== Invalid read of size 8
==7876== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Address 0x810c780 is 0 bytes inside a block of size 80 free'd
==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Block was alloc'd at
==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876==
{
<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 ==7876== Invalid read of size 8
==7876== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==7876== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Address 0x810c790 is 16 bytes inside a block of size 80 free'd
==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Block was alloc'd at
==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7876== Invalid read of size 8
==7876== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==7876== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Address 0x810c780 is 0 bytes inside a block of size 80 free'd
==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Block was alloc'd at
==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7876== Invalid read of size 8
==7876== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==7876== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Address 0x810c780 is 0 bytes inside a block of size 80 free'd
==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Block was alloc'd at
==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7876== Invalid read of size 8
==7876== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==7876== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Address 0x810c7b0 is 48 bytes inside a block of size 80 free'd
==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Block was alloc'd at
==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7876== Invalid read of size 8
==7876== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==7876== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Address 0x810c798 is 24 bytes inside a block of size 80 free'd
==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Block was alloc'd at
==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7876== Invalid read of size 8
==7876== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==7876== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Address 0x810c788 is 8 bytes inside a block of size 80 free'd
==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Block was alloc'd at
==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7876== Invalid read of size 8
==7876== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==7876== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Address 0x810c788 is 8 bytes inside a block of size 80 free'd
==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Block was alloc'd at
==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7876== Invalid read of size 8
==7876== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==7876== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7876== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7876== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Address 0x810c7c8 is 72 bytes inside a block of size 80 free'd
==7876== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7876== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7876== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7876== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7876== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7876== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7876== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7876== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7876== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7876== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7876== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7876== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7876== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876== Block was alloc'd at
==7876== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7876== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7876== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7876== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7876== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7876== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7876== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7876== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7876== by 0x41B70E: main (nginx.c:364)
==7876==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7887== Invalid read of size 8
==7887== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Address 0x810c770 is 32 bytes inside a block of size 96 free'd
==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Block was alloc'd at
==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7887== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7887== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887==
{
<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 ==7887== Invalid read of size 8
==7887== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Address 0x810c930 is 96 bytes inside a block of size 104 free'd
==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Block was alloc'd at
==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7887== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7887== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887==
{
<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 ==7887== Invalid read of size 8
==7887== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Address 0x810ca20 is 80 bytes inside a block of size 368 free'd
==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Block was alloc'd at
==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7887== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7887== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887==
{
<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 ==7887== Invalid read of size 8
==7887== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7887== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Address 0x810ca50 is 128 bytes inside a block of size 368 free'd
==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Block was alloc'd at
==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7887== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7887== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887==
{
<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 ==7887== Invalid read of size 8
==7887== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Address 0x810c758 is 8 bytes inside a block of size 96 free'd
==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Block was alloc'd at
==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7887== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7887== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887==
{
<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 ==7887== Invalid read of size 8
==7887== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Address 0x810c758 is 8 bytes inside a block of size 96 free'd
==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Block was alloc'd at
==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7887== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7887== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887==
{
<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 ==7887== Invalid read of size 8
==7887== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Address 0x810c5d0 is 0 bytes inside a block of size 80 free'd
==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Block was alloc'd at
==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887==
{
<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 ==7887== Invalid read of size 8
==7887== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==7887== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Address 0x810c5e0 is 16 bytes inside a block of size 80 free'd
==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Block was alloc'd at
==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7887== Invalid read of size 8
==7887== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==7887== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Address 0x810c5d0 is 0 bytes inside a block of size 80 free'd
==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Block was alloc'd at
==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7887== Invalid read of size 8
==7887== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==7887== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Address 0x810c5d0 is 0 bytes inside a block of size 80 free'd
==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Block was alloc'd at
==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7887== Invalid read of size 8
==7887== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==7887== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Address 0x810c600 is 48 bytes inside a block of size 80 free'd
==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Block was alloc'd at
==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7887== Invalid read of size 8
==7887== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==7887== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Address 0x810c5e8 is 24 bytes inside a block of size 80 free'd
==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Block was alloc'd at
==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7887== Invalid read of size 8
==7887== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==7887== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Address 0x810c5d8 is 8 bytes inside a block of size 80 free'd
==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Block was alloc'd at
==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7887== Invalid read of size 8
==7887== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==7887== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Address 0x810c5d8 is 8 bytes inside a block of size 80 free'd
==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Block was alloc'd at
==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7887== Invalid read of size 8
==7887== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==7887== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7887== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7887== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Address 0x810c618 is 72 bytes inside a block of size 80 free'd
==7887== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7887== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7887== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7887== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7887== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7887== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7887== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7887== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7887== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7887== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7887== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7887== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7887== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887== Block was alloc'd at
==7887== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7887== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7887== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7887== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7887== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7887== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7887== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7887== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7887== by 0x41B70E: main (nginx.c:364)
==7887==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7909== Invalid read of size 8
==7909== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Address 0x810c990 is 32 bytes inside a block of size 96 free'd
==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Block was alloc'd at
==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7909== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7909== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909==
{
<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 ==7909== Invalid read of size 8
==7909== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Address 0x810cb50 is 96 bytes inside a block of size 104 free'd
==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Block was alloc'd at
==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7909== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7909== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909==
{
<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 ==7909== Invalid read of size 8
==7909== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Address 0x810cc40 is 80 bytes inside a block of size 368 free'd
==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Block was alloc'd at
==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7909== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7909== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909==
{
<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 ==7909== Invalid read of size 8
==7909== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7909== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Address 0x810cc70 is 128 bytes inside a block of size 368 free'd
==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Block was alloc'd at
==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7909== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7909== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909==
{
<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 ==7909== Invalid read of size 8
==7909== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Address 0x810c978 is 8 bytes inside a block of size 96 free'd
==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Block was alloc'd at
==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7909== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7909== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909==
{
<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 ==7909== Invalid read of size 8
==7909== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Address 0x810c978 is 8 bytes inside a block of size 96 free'd
==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Block was alloc'd at
==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7909== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7909== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909==
{
<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 ==7909== Invalid read of size 8
==7909== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Address 0x810c7f0 is 0 bytes inside a block of size 80 free'd
==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Block was alloc'd at
==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909==
{
<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 ==7909== Invalid read of size 8
==7909== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==7909== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Address 0x810c800 is 16 bytes inside a block of size 80 free'd
==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Block was alloc'd at
==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7909== Invalid read of size 8
==7909== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==7909== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Address 0x810c7f0 is 0 bytes inside a block of size 80 free'd
==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Block was alloc'd at
==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7909== Invalid read of size 8
==7909== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==7909== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Address 0x810c7f0 is 0 bytes inside a block of size 80 free'd
==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Block was alloc'd at
==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7909== Invalid read of size 8
==7909== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==7909== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Address 0x810c820 is 48 bytes inside a block of size 80 free'd
==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Block was alloc'd at
==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7909== Invalid read of size 8
==7909== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==7909== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Address 0x810c808 is 24 bytes inside a block of size 80 free'd
==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Block was alloc'd at
==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7909== Invalid read of size 8
==7909== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==7909== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Address 0x810c7f8 is 8 bytes inside a block of size 80 free'd
==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Block was alloc'd at
==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7909== Invalid read of size 8
==7909== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==7909== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Address 0x810c7f8 is 8 bytes inside a block of size 80 free'd
==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Block was alloc'd at
==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7909== Invalid read of size 8
==7909== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==7909== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7909== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7909== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Address 0x810c838 is 72 bytes inside a block of size 80 free'd
==7909== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7909== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7909== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7909== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7909== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7909== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7909== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7909== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7909== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7909== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7909== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7909== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7909== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909== Block was alloc'd at
==7909== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7909== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7909== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7909== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7909== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7909== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7909== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7909== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7909== by 0x41B70E: main (nginx.c:364)
==7909==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7920== Invalid read of size 8
==7920== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Address 0x810cf10 is 32 bytes inside a block of size 96 free'd
==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Block was alloc'd at
==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7920== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7920== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920==
{
<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 ==7920== Invalid read of size 8
==7920== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Address 0x810d0d0 is 96 bytes inside a block of size 104 free'd
==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Block was alloc'd at
==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7920== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7920== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920==
{
<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 ==7920== Invalid read of size 8
==7920== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Address 0x810d1c0 is 80 bytes inside a block of size 368 free'd
==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Block was alloc'd at
==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7920== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7920== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920==
{
<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 ==7920== Invalid read of size 8
==7920== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7920== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Address 0x810d1f0 is 128 bytes inside a block of size 368 free'd
==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Block was alloc'd at
==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7920== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7920== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920==
{
<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 ==7920== Invalid read of size 8
==7920== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Address 0x810cef8 is 8 bytes inside a block of size 96 free'd
==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Block was alloc'd at
==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7920== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7920== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920==
{
<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 ==7920== Invalid read of size 8
==7920== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Address 0x810cef8 is 8 bytes inside a block of size 96 free'd
==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Block was alloc'd at
==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7920== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7920== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920==
{
<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 ==7920== Invalid read of size 8
==7920== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Address 0x810cd70 is 0 bytes inside a block of size 80 free'd
==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Block was alloc'd at
==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920==
{
<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 ==7920== Invalid read of size 8
==7920== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==7920== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Address 0x810cd80 is 16 bytes inside a block of size 80 free'd
==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Block was alloc'd at
==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7920== Invalid read of size 8
==7920== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==7920== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Address 0x810cd70 is 0 bytes inside a block of size 80 free'd
==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Block was alloc'd at
==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7920== Invalid read of size 8
==7920== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==7920== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Address 0x810cd70 is 0 bytes inside a block of size 80 free'd
==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Block was alloc'd at
==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7920== Invalid read of size 8
==7920== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==7920== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Address 0x810cda0 is 48 bytes inside a block of size 80 free'd
==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Block was alloc'd at
==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7920== Invalid read of size 8
==7920== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==7920== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Address 0x810cd88 is 24 bytes inside a block of size 80 free'd
==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Block was alloc'd at
==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7920== Invalid read of size 8
==7920== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==7920== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Address 0x810cd78 is 8 bytes inside a block of size 80 free'd
==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Block was alloc'd at
==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7920== Invalid read of size 8
==7920== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==7920== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Address 0x810cd78 is 8 bytes inside a block of size 80 free'd
==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Block was alloc'd at
==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7920== Invalid read of size 8
==7920== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==7920== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7920== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7920== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Address 0x810cdb8 is 72 bytes inside a block of size 80 free'd
==7920== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7920== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7920== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7920== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7920== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7920== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7920== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7920== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7920== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7920== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7920== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7920== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7920== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920== Block was alloc'd at
==7920== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7920== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7920== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7920== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7920== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7920== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7920== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7920== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7920== by 0x41B70E: main (nginx.c:364)
==7920==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7964== Invalid read of size 8
==7964== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Address 0x810cd80 is 32 bytes inside a block of size 96 free'd
==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Block was alloc'd at
==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7964== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7964== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964==
{
<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 ==7964== Invalid read of size 8
==7964== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Address 0x810cf40 is 96 bytes inside a block of size 104 free'd
==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Block was alloc'd at
==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7964== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7964== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964==
{
<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 ==7964== Invalid read of size 8
==7964== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Address 0x810d030 is 80 bytes inside a block of size 368 free'd
==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Block was alloc'd at
==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7964== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7964== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964==
{
<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 ==7964== Invalid read of size 8
==7964== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7964== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Address 0x810d060 is 128 bytes inside a block of size 368 free'd
==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Block was alloc'd at
==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7964== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7964== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964==
{
<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 ==7964== Invalid read of size 8
==7964== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Address 0x810cd68 is 8 bytes inside a block of size 96 free'd
==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Block was alloc'd at
==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7964== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7964== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964==
{
<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 ==7964== Invalid read of size 8
==7964== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Address 0x810cd68 is 8 bytes inside a block of size 96 free'd
==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Block was alloc'd at
==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7964== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7964== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964==
{
<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 ==7964== Invalid read of size 8
==7964== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Address 0x810cbe0 is 0 bytes inside a block of size 80 free'd
==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Block was alloc'd at
==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964==
{
<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 ==7964== Invalid read of size 8
==7964== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==7964== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Address 0x810cbf0 is 16 bytes inside a block of size 80 free'd
==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Block was alloc'd at
==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7964== Invalid read of size 8
==7964== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==7964== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Address 0x810cbe0 is 0 bytes inside a block of size 80 free'd
==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Block was alloc'd at
==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7964== Invalid read of size 8
==7964== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==7964== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Address 0x810cbe0 is 0 bytes inside a block of size 80 free'd
==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Block was alloc'd at
==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7964== Invalid read of size 8
==7964== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==7964== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Address 0x810cc10 is 48 bytes inside a block of size 80 free'd
==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Block was alloc'd at
==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7964== Invalid read of size 8
==7964== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==7964== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Address 0x810cbf8 is 24 bytes inside a block of size 80 free'd
==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Block was alloc'd at
==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7964== Invalid read of size 8
==7964== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==7964== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Address 0x810cbe8 is 8 bytes inside a block of size 80 free'd
==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Block was alloc'd at
==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7964== Invalid read of size 8
==7964== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==7964== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Address 0x810cbe8 is 8 bytes inside a block of size 80 free'd
==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Block was alloc'd at
==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7964== Invalid read of size 8
==7964== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==7964== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7964== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7964== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Address 0x810cc28 is 72 bytes inside a block of size 80 free'd
==7964== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7964== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7964== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7964== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7964== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7964== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7964== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7964== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7964== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7964== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7964== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7964== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7964== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964== Block was alloc'd at
==7964== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7964== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7964== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7964== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7964== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7964== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7964== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7964== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7964== by 0x41B70E: main (nginx.c:364)
==7964==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7979== Invalid read of size 8
==7979== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Address 0x810c570 is 32 bytes inside a block of size 96 free'd
==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Block was alloc'd at
==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7979== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7979== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979==
{
<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 ==7979== Invalid read of size 8
==7979== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Address 0x810c730 is 96 bytes inside a block of size 104 free'd
==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Block was alloc'd at
==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7979== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7979== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979==
{
<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 ==7979== Invalid read of size 8
==7979== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Address 0x810c820 is 80 bytes inside a block of size 368 free'd
==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Block was alloc'd at
==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7979== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==7979== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979==
{
<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 ==7979== Invalid read of size 8
==7979== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==7979== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Address 0x810e760 is 32 bytes inside a block of size 672 free'd
==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Block was alloc'd at
==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7979== by 0x41D445: ngx_list_init (ngx_list.h:39)
==7979== by 0x41D445: ngx_list_create (ngx_list.c:22)
==7979== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==7979== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==7979== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==7979== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==7979== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==7979== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979==
{
<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 ==7979== Invalid read of size 8
==7979== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Address 0x810c558 is 8 bytes inside a block of size 96 free'd
==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Block was alloc'd at
==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7979== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7979== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979==
{
<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 ==7979== Invalid read of size 8
==7979== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Address 0x810c558 is 8 bytes inside a block of size 96 free'd
==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Block was alloc'd at
==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7979== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==7979== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979==
{
<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 ==7979== Invalid read of size 8
==7979== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Address 0x810c3d0 is 0 bytes inside a block of size 80 free'd
==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Block was alloc'd at
==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979==
{
<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 ==7979== Invalid read of size 8
==7979== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==7979== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Address 0x810c3e0 is 16 bytes inside a block of size 80 free'd
==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Block was alloc'd at
==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7979== Invalid read of size 8
==7979== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==7979== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Address 0x810c3d0 is 0 bytes inside a block of size 80 free'd
==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Block was alloc'd at
==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7979== Invalid read of size 8
==7979== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==7979== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Address 0x810c3d0 is 0 bytes inside a block of size 80 free'd
==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Block was alloc'd at
==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7979== Invalid read of size 8
==7979== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==7979== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Address 0x810c400 is 48 bytes inside a block of size 80 free'd
==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Block was alloc'd at
==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7979== Invalid read of size 8
==7979== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==7979== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Address 0x810c3e8 is 24 bytes inside a block of size 80 free'd
==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Block was alloc'd at
==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7979== Invalid read of size 8
==7979== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==7979== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Address 0x810c3d8 is 8 bytes inside a block of size 80 free'd
==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Block was alloc'd at
==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7979== Invalid read of size 8
==7979== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==7979== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Address 0x810c3d8 is 8 bytes inside a block of size 80 free'd
==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Block was alloc'd at
==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==7979== Invalid read of size 8
==7979== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==7979== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==7979== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==7979== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Address 0x810c418 is 72 bytes inside a block of size 80 free'd
==7979== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==7979== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==7979== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==7979== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==7979== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==7979== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==7979== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==7979== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==7979== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==7979== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==7979== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==7979== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==7979== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979== Block was alloc'd at
==7979== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==7979== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==7979== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==7979== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==7979== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==7979== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==7979== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==7979== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==7979== by 0x41B70E: main (nginx.c:364)
==7979==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8001== Invalid read of size 8
==8001== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Address 0x810c8a0 is 32 bytes inside a block of size 96 free'd
==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Block was alloc'd at
==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8001== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8001== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001==
{
<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 ==8001== Invalid read of size 8
==8001== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Address 0x810ca60 is 96 bytes inside a block of size 104 free'd
==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Block was alloc'd at
==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8001== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8001== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001==
{
<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 ==8001== Invalid read of size 8
==8001== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Address 0x810cb50 is 80 bytes inside a block of size 368 free'd
==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Block was alloc'd at
==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8001== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8001== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001==
{
<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 ==8001== Invalid read of size 8
==8001== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==8001== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Address 0x810ec70 is 32 bytes inside a block of size 672 free'd
==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Block was alloc'd at
==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8001== by 0x41D445: ngx_list_init (ngx_list.h:39)
==8001== by 0x41D445: ngx_list_create (ngx_list.c:22)
==8001== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==8001== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==8001== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==8001== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==8001== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==8001== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001==
{
<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 ==8001== Invalid read of size 8
==8001== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Address 0x810c888 is 8 bytes inside a block of size 96 free'd
==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Block was alloc'd at
==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8001== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8001== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001==
{
<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 ==8001== Invalid read of size 8
==8001== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Address 0x810c888 is 8 bytes inside a block of size 96 free'd
==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Block was alloc'd at
==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8001== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8001== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001==
{
<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 ==8001== Invalid read of size 8
==8001== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Address 0x810c700 is 0 bytes inside a block of size 80 free'd
==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Block was alloc'd at
==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001==
{
<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 ==8001== Invalid read of size 8
==8001== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==8001== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Address 0x810c710 is 16 bytes inside a block of size 80 free'd
==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Block was alloc'd at
==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8001== Invalid read of size 8
==8001== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==8001== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Address 0x810c700 is 0 bytes inside a block of size 80 free'd
==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Block was alloc'd at
==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8001== Invalid read of size 8
==8001== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==8001== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Address 0x810c700 is 0 bytes inside a block of size 80 free'd
==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Block was alloc'd at
==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8001== Invalid read of size 8
==8001== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==8001== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Address 0x810c730 is 48 bytes inside a block of size 80 free'd
==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Block was alloc'd at
==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8001== Invalid read of size 8
==8001== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==8001== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Address 0x810c718 is 24 bytes inside a block of size 80 free'd
==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Block was alloc'd at
==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8001== Invalid read of size 8
==8001== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==8001== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Address 0x810c708 is 8 bytes inside a block of size 80 free'd
==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Block was alloc'd at
==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8001== Invalid read of size 8
==8001== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==8001== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Address 0x810c708 is 8 bytes inside a block of size 80 free'd
==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Block was alloc'd at
==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8001== Invalid read of size 8
==8001== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==8001== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8001== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8001== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Address 0x810c748 is 72 bytes inside a block of size 80 free'd
==8001== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8001== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8001== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8001== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8001== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8001== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8001== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8001== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8001== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8001== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8001== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8001== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8001== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001== Block was alloc'd at
==8001== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8001== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8001== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8001== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8001== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8001== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8001== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8001== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8001== by 0x41B70E: main (nginx.c:364)
==8001==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8023== Invalid read of size 8
==8023== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Address 0x810c440 is 32 bytes inside a block of size 96 free'd
==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Block was alloc'd at
==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8023== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8023== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023==
{
<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 ==8023== Invalid read of size 8
==8023== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Address 0x810c600 is 96 bytes inside a block of size 104 free'd
==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Block was alloc'd at
==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8023== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8023== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023==
{
<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 ==8023== Invalid read of size 8
==8023== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Address 0x810c6f0 is 80 bytes inside a block of size 368 free'd
==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Block was alloc'd at
==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8023== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8023== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023==
{
<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 ==8023== Invalid read of size 8
==8023== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==8023== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Address 0x810c720 is 128 bytes inside a block of size 368 free'd
==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Block was alloc'd at
==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8023== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8023== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023==
{
<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 ==8023== Invalid read of size 8
==8023== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Address 0x810c428 is 8 bytes inside a block of size 96 free'd
==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Block was alloc'd at
==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8023== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8023== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023==
{
<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 ==8023== Invalid read of size 8
==8023== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Address 0x810c428 is 8 bytes inside a block of size 96 free'd
==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Block was alloc'd at
==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8023== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8023== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023==
{
<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 ==8023== Invalid read of size 8
==8023== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Address 0x810c2a0 is 0 bytes inside a block of size 80 free'd
==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Block was alloc'd at
==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023==
{
<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 ==8023== Invalid read of size 8
==8023== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==8023== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Address 0x810c2b0 is 16 bytes inside a block of size 80 free'd
==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Block was alloc'd at
==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8023== Invalid read of size 8
==8023== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==8023== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Address 0x810c2a0 is 0 bytes inside a block of size 80 free'd
==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Block was alloc'd at
==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8023== Invalid read of size 8
==8023== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==8023== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Address 0x810c2a0 is 0 bytes inside a block of size 80 free'd
==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Block was alloc'd at
==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8023== Invalid read of size 8
==8023== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==8023== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Address 0x810c2d0 is 48 bytes inside a block of size 80 free'd
==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Block was alloc'd at
==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8023== Invalid read of size 8
==8023== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==8023== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Address 0x810c2b8 is 24 bytes inside a block of size 80 free'd
==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Block was alloc'd at
==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8023== Invalid read of size 8
==8023== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==8023== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Address 0x810c2a8 is 8 bytes inside a block of size 80 free'd
==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Block was alloc'd at
==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8023== Invalid read of size 8
==8023== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==8023== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Address 0x810c2a8 is 8 bytes inside a block of size 80 free'd
==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Block was alloc'd at
==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8023== Invalid read of size 8
==8023== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==8023== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8023== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8023== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Address 0x810c2e8 is 72 bytes inside a block of size 80 free'd
==8023== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8023== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8023== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8023== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8023== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8023== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8023== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8023== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8023== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8023== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8023== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8023== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8023== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023== Block was alloc'd at
==8023== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8023== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8023== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8023== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8023== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8023== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8023== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8023== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8023== by 0x41B70E: main (nginx.c:364)
==8023==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8045== Invalid read of size 8
==8045== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Address 0x810c4f0 is 32 bytes inside a block of size 96 free'd
==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Block was alloc'd at
==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8045== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8045== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045==
{
<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 ==8045== Invalid read of size 8
==8045== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Address 0x810c6b0 is 96 bytes inside a block of size 104 free'd
==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Block was alloc'd at
==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8045== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8045== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045==
{
<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 ==8045== Invalid read of size 8
==8045== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Address 0x810c7a0 is 80 bytes inside a block of size 368 free'd
==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Block was alloc'd at
==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8045== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8045== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045==
{
<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 ==8045== Invalid read of size 8
==8045== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==8045== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Address 0x810c7d0 is 128 bytes inside a block of size 368 free'd
==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Block was alloc'd at
==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8045== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8045== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045==
{
<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 ==8045== Invalid read of size 8
==8045== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Address 0x810c4d8 is 8 bytes inside a block of size 96 free'd
==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Block was alloc'd at
==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8045== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8045== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045==
{
<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 ==8045== Invalid read of size 8
==8045== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Address 0x810c4d8 is 8 bytes inside a block of size 96 free'd
==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Block was alloc'd at
==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8045== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8045== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045==
{
<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 ==8045== Invalid read of size 8
==8045== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Address 0x810c350 is 0 bytes inside a block of size 80 free'd
==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Block was alloc'd at
==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045==
{
<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 ==8045== Invalid read of size 8
==8045== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==8045== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Address 0x810c360 is 16 bytes inside a block of size 80 free'd
==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Block was alloc'd at
==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8045== Invalid read of size 8
==8045== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==8045== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Address 0x810c350 is 0 bytes inside a block of size 80 free'd
==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Block was alloc'd at
==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8045== Invalid read of size 8
==8045== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==8045== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Address 0x810c350 is 0 bytes inside a block of size 80 free'd
==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Block was alloc'd at
==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8045== Invalid read of size 8
==8045== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==8045== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Address 0x810c380 is 48 bytes inside a block of size 80 free'd
==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Block was alloc'd at
==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8045== Invalid read of size 8
==8045== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==8045== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Address 0x810c368 is 24 bytes inside a block of size 80 free'd
==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Block was alloc'd at
==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8045== Invalid read of size 8
==8045== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==8045== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Address 0x810c358 is 8 bytes inside a block of size 80 free'd
==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Block was alloc'd at
==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8045== Invalid read of size 8
==8045== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==8045== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Address 0x810c358 is 8 bytes inside a block of size 80 free'd
==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Block was alloc'd at
==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_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 ==8045== Invalid read of size 8
==8045== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==8045== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8045== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8045== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Address 0x810c398 is 72 bytes inside a block of size 80 free'd
==8045== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8045== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8045== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8045== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8045== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8045== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8045== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8045== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8045== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8045== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8045== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8045== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8045== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045== Block was alloc'd at
==8045== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8045== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8045== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8045== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8045== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8045== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8045== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8045== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8045== by 0x41B70E: main (nginx.c:364)
==8045==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8218== Invalid read of size 8
==8218== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Address 0x80f9960 is 32 bytes inside a block of size 96 free'd
==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Block was alloc'd at
==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8218== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8218== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218==
{
<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 ==8218== Invalid read of size 8
==8218== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Address 0x80f9b20 is 96 bytes inside a block of size 104 free'd
==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Block was alloc'd at
==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8218== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8218== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218==
{
<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 ==8218== Invalid read of size 8
==8218== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Address 0x80f9c10 is 80 bytes inside a block of size 368 free'd
==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Block was alloc'd at
==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8218== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8218== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218==
{
<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 ==8218== Invalid read of size 8
==8218== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==8218== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Address 0x80f9c40 is 128 bytes inside a block of size 368 free'd
==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Block was alloc'd at
==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8218== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8218== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218==
{
<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 ==8218== Invalid read of size 8
==8218== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Address 0x80f9948 is 8 bytes inside a block of size 96 free'd
==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Block was alloc'd at
==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8218== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8218== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218==
{
<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 ==8218== Invalid read of size 8
==8218== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Address 0x80f9948 is 8 bytes inside a block of size 96 free'd
==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Block was alloc'd at
==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8218== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8218== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218==
{
<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 ==8218== Invalid read of size 8
==8218== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Address 0x80f97c0 is 0 bytes inside a block of size 80 free'd
==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Block was alloc'd at
==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218==
{
<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 ==8218== Invalid read of size 8
==8218== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==8218== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Address 0x80f97d0 is 16 bytes inside a block of size 80 free'd
==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Block was alloc'd at
==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8218== Invalid read of size 8
==8218== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==8218== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Address 0x80f97c0 is 0 bytes inside a block of size 80 free'd
==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Block was alloc'd at
==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8218== Invalid read of size 8
==8218== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==8218== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Address 0x80f97c0 is 0 bytes inside a block of size 80 free'd
==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Block was alloc'd at
==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8218== Invalid read of size 8
==8218== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==8218== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Address 0x80f97f0 is 48 bytes inside a block of size 80 free'd
==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Block was alloc'd at
==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8218== Invalid read of size 8
==8218== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==8218== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Address 0x80f97d8 is 24 bytes inside a block of size 80 free'd
==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Block was alloc'd at
==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8218== Invalid read of size 8
==8218== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==8218== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Address 0x80f97c8 is 8 bytes inside a block of size 80 free'd
==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Block was alloc'd at
==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8218== Invalid read of size 8
==8218== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==8218== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Address 0x80f97c8 is 8 bytes inside a block of size 80 free'd
==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Block was alloc'd at
==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8218== Invalid read of size 8
==8218== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==8218== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8218== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8218== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Address 0x80f9808 is 72 bytes inside a block of size 80 free'd
==8218== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8218== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8218== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8218== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8218== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8218== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8218== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8218== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8218== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8218== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8218== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8218== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8218== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218== Block was alloc'd at
==8218== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8218== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8218== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8218== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8218== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8218== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8218== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8218== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8218== by 0x41B70E: main (nginx.c:364)
==8218==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==8251== Invalid read of size 8
==8251== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Address 0x80f8f00 is 32 bytes inside a block of size 96 free'd
==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Block was alloc'd at
==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8251== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8251== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251==
{
<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) ==8251== Invalid read of size 8
==8251== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Address 0x80f90c0 is 96 bytes inside a block of size 104 free'd
==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Block was alloc'd at
==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8251== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8251== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251==
{
<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) ==8251== Invalid read of size 8
==8251== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Address 0x80f91b0 is 80 bytes inside a block of size 368 free'd
==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Block was alloc'd at
==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8251== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8251== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251==
{
<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) ==8251== Invalid read of size 8
==8251== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==8251== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Address 0x80f91e0 is 128 bytes inside a block of size 368 free'd
==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Block was alloc'd at
==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8251== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8251== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251==
{
<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) ==8251== Invalid read of size 8
==8251== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Address 0x80f8ee8 is 8 bytes inside a block of size 96 free'd
==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Block was alloc'd at
==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8251== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8251== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251==
{
<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) ==8251== Invalid read of size 8
==8251== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Address 0x80f8ee8 is 8 bytes inside a block of size 96 free'd
==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Block was alloc'd at
==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8251== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8251== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251==
{
<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) ==8251== Invalid read of size 8
==8251== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Address 0x80f8d60 is 0 bytes inside a block of size 80 free'd
==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Block was alloc'd at
==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251==
{
<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) ==8251== Invalid read of size 8
==8251== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==8251== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Address 0x80f8d70 is 16 bytes inside a block of size 80 free'd
==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Block was alloc'd at
==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==8251== Invalid read of size 8
==8251== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==8251== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Address 0x80f8d60 is 0 bytes inside a block of size 80 free'd
==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Block was alloc'd at
==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==8251== Invalid read of size 8
==8251== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==8251== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Address 0x80f8d60 is 0 bytes inside a block of size 80 free'd
==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Block was alloc'd at
==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==8251== Invalid read of size 8
==8251== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==8251== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Address 0x80f8d90 is 48 bytes inside a block of size 80 free'd
==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Block was alloc'd at
==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==8251== Invalid read of size 8
==8251== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==8251== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Address 0x80f8d78 is 24 bytes inside a block of size 80 free'd
==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Block was alloc'd at
==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==8251== Invalid read of size 8
==8251== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==8251== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Address 0x80f8d68 is 8 bytes inside a block of size 80 free'd
==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Block was alloc'd at
==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==8251== Invalid read of size 8
==8251== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==8251== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Address 0x80f8d68 is 8 bytes inside a block of size 80 free'd
==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Block was alloc'd at
==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==8251== Invalid read of size 8
==8251== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==8251== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8251== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8251== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Address 0x80f8da8 is 72 bytes inside a block of size 80 free'd
==8251== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8251== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8251== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8251== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8251== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8251== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8251== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8251== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8251== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8251== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8251== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8251== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8251== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251== Block was alloc'd at
==8251== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8251== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8251== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8251== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8251== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8251== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8251== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8251== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8251== by 0x41B70E: main (nginx.c:364)
==8251==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8273== Invalid read of size 8
==8273== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Address 0x80f8f10 is 32 bytes inside a block of size 96 free'd
==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Block was alloc'd at
==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8273== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8273== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273==
{
<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 ==8273== Invalid read of size 8
==8273== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Address 0x80f90d0 is 96 bytes inside a block of size 104 free'd
==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Block was alloc'd at
==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8273== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8273== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273==
{
<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 ==8273== Invalid read of size 8
==8273== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Address 0x80f91c0 is 80 bytes inside a block of size 368 free'd
==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Block was alloc'd at
==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8273== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8273== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273==
{
<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 ==8273== Invalid read of size 8
==8273== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==8273== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Address 0x80f91f0 is 128 bytes inside a block of size 368 free'd
==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Block was alloc'd at
==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8273== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8273== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273==
{
<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 ==8273== Invalid read of size 8
==8273== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Address 0x80f8ef8 is 8 bytes inside a block of size 96 free'd
==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Block was alloc'd at
==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8273== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8273== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273==
{
<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 ==8273== Invalid read of size 8
==8273== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Address 0x80f8ef8 is 8 bytes inside a block of size 96 free'd
==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Block was alloc'd at
==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8273== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8273== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273==
{
<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 ==8273== Invalid read of size 8
==8273== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Address 0x80f8d70 is 0 bytes inside a block of size 80 free'd
==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Block was alloc'd at
==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273==
{
<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 ==8273== Invalid read of size 8
==8273== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==8273== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Address 0x80f8d80 is 16 bytes inside a block of size 80 free'd
==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Block was alloc'd at
==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8273== Invalid read of size 8
==8273== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==8273== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Address 0x80f8d70 is 0 bytes inside a block of size 80 free'd
==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Block was alloc'd at
==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8273== Invalid read of size 8
==8273== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==8273== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Address 0x80f8d70 is 0 bytes inside a block of size 80 free'd
==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Block was alloc'd at
==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8273== Invalid read of size 8
==8273== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==8273== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Address 0x80f8da0 is 48 bytes inside a block of size 80 free'd
==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Block was alloc'd at
==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8273== Invalid read of size 8
==8273== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==8273== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Address 0x80f8d88 is 24 bytes inside a block of size 80 free'd
==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Block was alloc'd at
==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8273== Invalid read of size 8
==8273== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==8273== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Address 0x80f8d78 is 8 bytes inside a block of size 80 free'd
==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Block was alloc'd at
==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8273== Invalid read of size 8
==8273== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==8273== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Address 0x80f8d78 is 8 bytes inside a block of size 80 free'd
==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Block was alloc'd at
==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8273== Invalid read of size 8
==8273== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==8273== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8273== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8273== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Address 0x80f8db8 is 72 bytes inside a block of size 80 free'd
==8273== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8273== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8273== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8273== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8273== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8273== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8273== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8273== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8273== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8273== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8273== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8273== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8273== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273== Block was alloc'd at
==8273== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8273== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8273== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8273== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8273== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8273== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8273== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8273== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8273== by 0x41B70E: main (nginx.c:364)
==8273==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8284== Invalid read of size 8
==8284== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Address 0x80f8d30 is 32 bytes inside a block of size 96 free'd
==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Block was alloc'd at
==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8284== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8284== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284==
{
<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 ==8284== Invalid read of size 8
==8284== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Address 0x80f8ef0 is 96 bytes inside a block of size 104 free'd
==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Block was alloc'd at
==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8284== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8284== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284==
{
<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 ==8284== Invalid read of size 8
==8284== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Address 0x80f8fe0 is 80 bytes inside a block of size 368 free'd
==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Block was alloc'd at
==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8284== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8284== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284==
{
<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 ==8284== Invalid read of size 8
==8284== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==8284== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Address 0x80f9010 is 128 bytes inside a block of size 368 free'd
==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Block was alloc'd at
==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8284== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8284== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284==
{
<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 ==8284== Invalid read of size 8
==8284== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Address 0x80f8d18 is 8 bytes inside a block of size 96 free'd
==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Block was alloc'd at
==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8284== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8284== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284==
{
<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 ==8284== Invalid read of size 8
==8284== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Address 0x80f8d18 is 8 bytes inside a block of size 96 free'd
==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Block was alloc'd at
==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8284== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8284== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284==
{
<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 ==8284== Invalid read of size 8
==8284== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Address 0x80f8b90 is 0 bytes inside a block of size 80 free'd
==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Block was alloc'd at
==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284==
{
<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 ==8284== Invalid read of size 8
==8284== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==8284== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Address 0x80f8ba0 is 16 bytes inside a block of size 80 free'd
==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Block was alloc'd at
==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8284== Invalid read of size 8
==8284== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==8284== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Address 0x80f8b90 is 0 bytes inside a block of size 80 free'd
==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Block was alloc'd at
==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8284== Invalid read of size 8
==8284== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==8284== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Address 0x80f8b90 is 0 bytes inside a block of size 80 free'd
==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Block was alloc'd at
==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8284== Invalid read of size 8
==8284== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==8284== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Address 0x80f8bc0 is 48 bytes inside a block of size 80 free'd
==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Block was alloc'd at
==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8284== Invalid read of size 8
==8284== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==8284== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Address 0x80f8ba8 is 24 bytes inside a block of size 80 free'd
==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Block was alloc'd at
==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8284== Invalid read of size 8
==8284== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==8284== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Address 0x80f8b98 is 8 bytes inside a block of size 80 free'd
==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Block was alloc'd at
==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8284== Invalid read of size 8
==8284== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==8284== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Address 0x80f8b98 is 8 bytes inside a block of size 80 free'd
==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Block was alloc'd at
==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8284== Invalid read of size 8
==8284== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==8284== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8284== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8284== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Address 0x80f8bd8 is 72 bytes inside a block of size 80 free'd
==8284== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8284== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8284== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8284== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8284== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8284== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8284== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8284== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8284== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8284== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8284== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8284== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8284== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284== Block was alloc'd at
==8284== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8284== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8284== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8284== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8284== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8284== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8284== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8284== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8284== by 0x41B70E: main (nginx.c:364)
==8284==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8306== Invalid read of size 8
==8306== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Address 0x80f8f90 is 32 bytes inside a block of size 96 free'd
==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Block was alloc'd at
==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8306== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8306== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306==
{
<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 ==8306== Invalid read of size 8
==8306== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Address 0x80f9150 is 96 bytes inside a block of size 104 free'd
==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Block was alloc'd at
==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8306== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8306== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306==
{
<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 ==8306== Invalid read of size 8
==8306== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Address 0x80f9240 is 80 bytes inside a block of size 368 free'd
==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Block was alloc'd at
==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8306== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8306== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306==
{
<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 ==8306== Invalid read of size 8
==8306== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==8306== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Address 0x80f9270 is 128 bytes inside a block of size 368 free'd
==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Block was alloc'd at
==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8306== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8306== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306==
{
<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 ==8306== Invalid read of size 8
==8306== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Address 0x80f8f78 is 8 bytes inside a block of size 96 free'd
==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Block was alloc'd at
==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8306== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8306== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306==
{
<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 ==8306== Invalid read of size 8
==8306== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Address 0x80f8f78 is 8 bytes inside a block of size 96 free'd
==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Block was alloc'd at
==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8306== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8306== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306==
{
<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 ==8306== Invalid read of size 8
==8306== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Address 0x80f8df0 is 0 bytes inside a block of size 80 free'd
==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Block was alloc'd at
==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306==
{
<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 ==8306== Invalid read of size 8
==8306== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==8306== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Address 0x80f8e00 is 16 bytes inside a block of size 80 free'd
==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Block was alloc'd at
==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8306== Invalid read of size 8
==8306== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==8306== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Address 0x80f8df0 is 0 bytes inside a block of size 80 free'd
==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Block was alloc'd at
==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8306== Invalid read of size 8
==8306== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==8306== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Address 0x80f8df0 is 0 bytes inside a block of size 80 free'd
==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Block was alloc'd at
==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8306== Invalid read of size 8
==8306== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==8306== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Address 0x80f8e20 is 48 bytes inside a block of size 80 free'd
==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Block was alloc'd at
==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8306== Invalid read of size 8
==8306== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==8306== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Address 0x80f8e08 is 24 bytes inside a block of size 80 free'd
==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Block was alloc'd at
==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8306== Invalid read of size 8
==8306== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==8306== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Address 0x80f8df8 is 8 bytes inside a block of size 80 free'd
==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Block was alloc'd at
==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8306== Invalid read of size 8
==8306== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==8306== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Address 0x80f8df8 is 8 bytes inside a block of size 80 free'd
==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Block was alloc'd at
==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8306== Invalid read of size 8
==8306== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==8306== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8306== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8306== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Address 0x80f8e38 is 72 bytes inside a block of size 80 free'd
==8306== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8306== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8306== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8306== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8306== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8306== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8306== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8306== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8306== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8306== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8306== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8306== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8306== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306== Block was alloc'd at
==8306== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8306== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8306== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8306== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8306== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8306== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8306== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8306== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8306== by 0x41B70E: main (nginx.c:364)
==8306==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8328== Invalid read of size 8
==8328== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Address 0x80f9960 is 32 bytes inside a block of size 96 free'd
==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Block was alloc'd at
==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8328== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8328== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328==
{
<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 ==8328== Invalid read of size 8
==8328== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Address 0x80f9b20 is 96 bytes inside a block of size 104 free'd
==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Block was alloc'd at
==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8328== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8328== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328==
{
<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 ==8328== Invalid read of size 8
==8328== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Address 0x80f9c10 is 80 bytes inside a block of size 368 free'd
==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Block was alloc'd at
==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8328== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8328== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328==
{
<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 ==8328== Invalid read of size 8
==8328== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==8328== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Address 0x80f9c40 is 128 bytes inside a block of size 368 free'd
==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Block was alloc'd at
==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8328== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8328== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328==
{
<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 ==8328== Invalid read of size 8
==8328== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Address 0x80f9948 is 8 bytes inside a block of size 96 free'd
==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Block was alloc'd at
==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8328== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8328== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328==
{
<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 ==8328== Invalid read of size 8
==8328== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==8328== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Address 0x80f9948 is 8 bytes inside a block of size 96 free'd
==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Block was alloc'd at
==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8328== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8328== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328==
{
<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 ==8328== Invalid read of size 8
==8328== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8328== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Address 0x80f97c0 is 0 bytes inside a block of size 80 free'd
==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Block was alloc'd at
==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8328== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328==
{
<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 ==8328== Invalid read of size 8
==8328== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==8328== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8328== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Address 0x80f97d0 is 16 bytes inside a block of size 80 free'd
==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Block was alloc'd at
==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8328== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8328== Invalid read of size 8
==8328== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==8328== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8328== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Address 0x80f97c0 is 0 bytes inside a block of size 80 free'd
==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Block was alloc'd at
==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8328== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8328== Invalid read of size 8
==8328== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==8328== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8328== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Address 0x80f97c0 is 0 bytes inside a block of size 80 free'd
==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Block was alloc'd at
==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8328== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8328== Invalid read of size 8
==8328== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==8328== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8328== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Address 0x80f97f0 is 48 bytes inside a block of size 80 free'd
==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Block was alloc'd at
==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8328== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8328== Invalid read of size 8
==8328== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==8328== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8328== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Address 0x80f97d8 is 24 bytes inside a block of size 80 free'd
==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Block was alloc'd at
==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8328== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8328== Invalid read of size 8
==8328== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==8328== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8328== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Address 0x80f97c8 is 8 bytes inside a block of size 80 free'd
==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Block was alloc'd at
==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8328== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8328== Invalid read of size 8
==8328== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==8328== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8328== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Address 0x80f97c8 is 8 bytes inside a block of size 80 free'd
==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Block was alloc'd at
==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8328== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==8328== Invalid read of size 8
==8328== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==8328== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8328== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8328== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Address 0x80f9808 is 72 bytes inside a block of size 80 free'd
==8328== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8328== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8328== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8328== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8328== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8328== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8328== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8328== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8328== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8328== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8328== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8328== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8328== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328== Block was alloc'd at
==8328== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8328== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8328== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8328== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8328== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8328== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8328== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8328== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8328== by 0x41B70E: main (nginx.c:364)
==8328==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==8405== Invalid read of size 8
==8405== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8405== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Address 0x80f8d50 is 32 bytes inside a block of size 96 free'd
==8405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8405== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8405== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8405== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8405== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8405== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8405== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8405== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8405== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8405== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Block was alloc'd at
==8405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8405== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8405== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8405== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8405== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8405== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==8405== Invalid read of size 8
==8405== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8405== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Address 0x80f8f10 is 96 bytes inside a block of size 104 free'd
==8405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8405== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8405== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8405== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8405== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8405== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8405== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8405== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8405== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8405== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Block was alloc'd at
==8405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8405== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8405== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8405== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8405== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8405== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==8405== Invalid read of size 8
==8405== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==8405== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Address 0x80f9000 is 80 bytes inside a block of size 368 free'd
==8405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8405== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8405== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8405== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8405== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8405== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8405== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8405== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8405== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8405== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Block was alloc'd at
==8405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8405== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8405== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8405== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8405== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8405== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==8405== Invalid read of size 8
==8405== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==8405== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==8405== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Address 0x80f9030 is 128 bytes inside a block of size 368 free'd
==8405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8405== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8405== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8405== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8405== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8405== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8405== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8405== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8405== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8405== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Block was alloc'd at
==8405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8405== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8405== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8405== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8405== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8405== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==8405== Invalid read of size 8
==8405== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==8405== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Address 0x80f8d38 is 8 bytes inside a block of size 96 free'd
==8405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8405== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8405== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8405== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8405== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8405== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8405== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8405== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8405== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8405== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Block was alloc'd at
==8405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8405== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8405== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8405== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8405== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8405== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==8405== Invalid read of size 8
==8405== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==8405== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8405== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Address 0x80f8d38 is 8 bytes inside a block of size 96 free'd
==8405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8405== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8405== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8405== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8405== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8405== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8405== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8405== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8405== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8405== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Block was alloc'd at
==8405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8405== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8405== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8405== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8405== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8405== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==8405== Invalid read of size 8
==8405== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8405== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8405== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Address 0x80f8bb0 is 0 bytes inside a block of size 80 free'd
==8405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8405== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8405== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8405== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8405== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8405== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8405== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8405== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8405== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8405== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Block was alloc'd at
==8405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8405== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8405== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8405== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8405== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==8405== Invalid read of size 8
==8405== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==8405== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8405== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8405== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Address 0x80f8bc0 is 16 bytes inside a block of size 80 free'd
==8405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8405== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8405== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8405== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8405== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8405== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8405== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8405== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8405== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8405== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Block was alloc'd at
==8405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8405== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8405== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8405== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8405== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==8405== Invalid read of size 8
==8405== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==8405== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8405== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8405== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Address 0x80f8bb0 is 0 bytes inside a block of size 80 free'd
==8405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8405== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8405== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8405== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8405== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8405== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8405== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8405== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8405== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8405== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Block was alloc'd at
==8405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8405== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8405== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8405== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8405== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==8405== Invalid read of size 8
==8405== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==8405== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8405== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8405== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Address 0x80f8bb0 is 0 bytes inside a block of size 80 free'd
==8405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8405== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8405== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8405== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8405== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8405== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8405== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8405== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8405== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8405== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Block was alloc'd at
==8405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8405== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8405== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8405== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8405== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==8405== Invalid read of size 8
==8405== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==8405== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8405== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8405== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Address 0x80f8be0 is 48 bytes inside a block of size 80 free'd
==8405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8405== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8405== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8405== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8405== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8405== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8405== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8405== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8405== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8405== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Block was alloc'd at
==8405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8405== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8405== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8405== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8405== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==8405== Invalid read of size 8
==8405== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==8405== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8405== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8405== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Address 0x80f8bc8 is 24 bytes inside a block of size 80 free'd
==8405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8405== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8405== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8405== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8405== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8405== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8405== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8405== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8405== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8405== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Block was alloc'd at
==8405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8405== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8405== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8405== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8405== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==8405== Invalid read of size 8
==8405== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==8405== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8405== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8405== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Address 0x80f8bb8 is 8 bytes inside a block of size 80 free'd
==8405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8405== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8405== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8405== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8405== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8405== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8405== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8405== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8405== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8405== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Block was alloc'd at
==8405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8405== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8405== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8405== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8405== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==8405== Invalid read of size 8
==8405== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==8405== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8405== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8405== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Address 0x80f8bb8 is 8 bytes inside a block of size 80 free'd
==8405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8405== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8405== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8405== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8405== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8405== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8405== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8405== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8405== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8405== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Block was alloc'd at
==8405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8405== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8405== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8405== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8405== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==8405== Invalid read of size 8
==8405== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==8405== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8405== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8405== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Address 0x80f8bf8 is 72 bytes inside a block of size 80 free'd
==8405== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8405== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8405== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8405== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8405== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8405== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8405== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8405== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8405== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8405== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8405== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8405== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8405== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405== Block was alloc'd at
==8405== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8405== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8405== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8405== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8405== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8405== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8405== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8405== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8405== by 0x41B70E: main (nginx.c:364)
==8405==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==8427== Invalid read of size 8
==8427== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8427== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Address 0x80f8ec0 is 32 bytes inside a block of size 96 free'd
==8427== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8427== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8427== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8427== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8427== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8427== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8427== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8427== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8427== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8427== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Block was alloc'd at
==8427== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8427== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8427== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8427== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8427== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8427== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==8427== Invalid read of size 8
==8427== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8427== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Address 0x80f9080 is 96 bytes inside a block of size 104 free'd
==8427== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8427== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8427== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8427== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8427== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8427== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8427== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8427== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8427== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8427== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Block was alloc'd at
==8427== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8427== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8427== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8427== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8427== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8427== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==8427== Invalid read of size 8
==8427== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==8427== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Address 0x80f9170 is 80 bytes inside a block of size 368 free'd
==8427== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8427== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8427== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8427== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8427== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8427== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8427== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8427== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8427== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8427== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Block was alloc'd at
==8427== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8427== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8427== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8427== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8427== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8427== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==8427== Invalid read of size 8
==8427== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==8427== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==8427== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Address 0x80f91a0 is 128 bytes inside a block of size 368 free'd
==8427== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8427== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8427== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8427== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8427== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8427== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8427== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8427== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8427== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8427== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Block was alloc'd at
==8427== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8427== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8427== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8427== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8427== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8427== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==8427== Invalid read of size 8
==8427== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==8427== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Address 0x80f8ea8 is 8 bytes inside a block of size 96 free'd
==8427== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8427== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8427== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8427== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8427== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8427== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8427== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8427== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8427== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8427== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Block was alloc'd at
==8427== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8427== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8427== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8427== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8427== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8427== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==8427== Invalid read of size 8
==8427== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==8427== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8427== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Address 0x80f8ea8 is 8 bytes inside a block of size 96 free'd
==8427== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8427== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8427== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8427== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8427== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8427== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8427== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8427== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8427== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8427== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Block was alloc'd at
==8427== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8427== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8427== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8427== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8427== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8427== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==8427== Invalid read of size 8
==8427== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8427== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8427== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Address 0x80f8d20 is 0 bytes inside a block of size 80 free'd
==8427== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8427== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8427== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8427== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8427== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8427== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8427== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8427== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8427== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8427== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Block was alloc'd at
==8427== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8427== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8427== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8427== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8427== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==8427== Invalid read of size 8
==8427== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==8427== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8427== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8427== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Address 0x80f8d30 is 16 bytes inside a block of size 80 free'd
==8427== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8427== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8427== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8427== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8427== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8427== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8427== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8427== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8427== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8427== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Block was alloc'd at
==8427== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8427== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8427== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8427== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8427== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==8427== Invalid read of size 8
==8427== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==8427== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8427== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8427== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Address 0x80f8d20 is 0 bytes inside a block of size 80 free'd
==8427== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8427== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8427== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8427== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8427== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8427== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8427== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8427== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8427== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8427== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Block was alloc'd at
==8427== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8427== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8427== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8427== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8427== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==8427== Invalid read of size 8
==8427== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==8427== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8427== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8427== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Address 0x80f8d20 is 0 bytes inside a block of size 80 free'd
==8427== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8427== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8427== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8427== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8427== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8427== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8427== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8427== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8427== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8427== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Block was alloc'd at
==8427== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8427== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8427== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8427== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8427== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==8427== Invalid read of size 8
==8427== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==8427== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8427== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8427== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Address 0x80f8d50 is 48 bytes inside a block of size 80 free'd
==8427== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8427== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8427== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8427== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8427== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8427== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8427== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8427== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8427== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8427== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Block was alloc'd at
==8427== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8427== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8427== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8427== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8427== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==8427== Invalid read of size 8
==8427== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==8427== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8427== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8427== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Address 0x80f8d38 is 24 bytes inside a block of size 80 free'd
==8427== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8427== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8427== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8427== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8427== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8427== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8427== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8427== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8427== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8427== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Block was alloc'd at
==8427== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8427== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8427== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8427== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8427== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==8427== Invalid read of size 8
==8427== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==8427== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8427== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8427== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Address 0x80f8d28 is 8 bytes inside a block of size 80 free'd
==8427== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8427== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8427== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8427== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8427== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8427== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8427== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8427== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8427== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8427== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Block was alloc'd at
==8427== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8427== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8427== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8427== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8427== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==8427== Invalid read of size 8
==8427== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==8427== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8427== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8427== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Address 0x80f8d28 is 8 bytes inside a block of size 80 free'd
==8427== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8427== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8427== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8427== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8427== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8427== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8427== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8427== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8427== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8427== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Block was alloc'd at
==8427== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8427== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8427== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8427== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8427== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==8427== Invalid read of size 8
==8427== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==8427== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8427== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8427== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Address 0x80f8d68 is 72 bytes inside a block of size 80 free'd
==8427== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8427== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8427== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==8427== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==8427== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==8427== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==8427== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8427== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==8427== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==8427== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==8427== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==8427== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==8427== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427== Block was alloc'd at
==8427== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8427== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8427== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8427== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8427== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==8427== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==8427== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==8427== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8427== by 0x41B70E: main (nginx.c:364)
==8427==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8982== Invalid read of size 8
==8982== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8982== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Address 0x81616b0 is 32 bytes inside a block of size 96 free'd
==8982== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8982== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8982== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8982== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8982== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8982== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Block was alloc'd at
==8982== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8982== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8982== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8982== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8982== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8982== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==8982== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8982== Invalid read of size 8
==8982== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==8982== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Address 0x81617e0 is 96 bytes inside a block of size 104 free'd
==8982== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8982== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8982== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8982== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8982== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8982== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Block was alloc'd at
==8982== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8982== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8982== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8982== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8982== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8982== by 0x4F751E: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085)
==8982== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8982== Invalid read of size 8
==8982== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==8982== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Address 0x81618d0 is 80 bytes inside a block of size 368 free'd
==8982== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8982== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8982== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8982== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8982== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8982== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Block was alloc'd at
==8982== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8982== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8982== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8982== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8982== by 0x5110DF: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8982== by 0x5110DF: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8982== Invalid read of size 8
==8982== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==8982== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==8982== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Address 0x8161900 is 128 bytes inside a block of size 368 free'd
==8982== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8982== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8982== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8982== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8982== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8982== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Block was alloc'd at
==8982== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8982== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8982== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8982== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8982== by 0x5110DF: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==8982== by 0x5110DF: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8982== Invalid read of size 8
==8982== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==8982== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Address 0x8161698 is 8 bytes inside a block of size 96 free'd
==8982== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8982== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8982== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8982== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8982== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8982== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Block was alloc'd at
==8982== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8982== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8982== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8982== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8982== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8982== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==8982== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8982== Invalid read of size 8
==8982== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Address 0x8161698 is 8 bytes inside a block of size 96 free'd
==8982== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8982== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8982== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8982== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8982== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8982== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Block was alloc'd at
==8982== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8982== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8982== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8982== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8982== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8982== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==8982== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8982== Invalid read of size 8
==8982== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Address 0x81615b0 is 0 bytes inside a block of size 80 free'd
==8982== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8982== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8982== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8982== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8982== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8982== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Block was alloc'd at
==8982== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8982== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8982== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8982== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8982== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8982== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8982== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8982== Invalid read of size 8
==8982== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==8982== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Address 0x81615c0 is 16 bytes inside a block of size 80 free'd
==8982== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8982== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8982== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8982== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8982== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8982== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Block was alloc'd at
==8982== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8982== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8982== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8982== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8982== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8982== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8982== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8982== Invalid read of size 8
==8982== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==8982== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Address 0x81615b0 is 0 bytes inside a block of size 80 free'd
==8982== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8982== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8982== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8982== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8982== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8982== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Block was alloc'd at
==8982== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8982== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8982== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8982== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8982== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8982== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8982== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8982== Invalid read of size 8
==8982== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==8982== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Address 0x81615b0 is 0 bytes inside a block of size 80 free'd
==8982== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8982== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8982== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8982== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8982== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8982== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Block was alloc'd at
==8982== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8982== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8982== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8982== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8982== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8982== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8982== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8982== Invalid read of size 8
==8982== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==8982== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Address 0x81615e0 is 48 bytes inside a block of size 80 free'd
==8982== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8982== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8982== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8982== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8982== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8982== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Block was alloc'd at
==8982== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8982== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8982== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8982== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8982== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8982== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8982== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8982== Invalid read of size 8
==8982== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==8982== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Address 0x81615c8 is 24 bytes inside a block of size 80 free'd
==8982== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8982== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8982== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8982== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8982== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8982== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Block was alloc'd at
==8982== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8982== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8982== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8982== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8982== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8982== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8982== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8982== Invalid read of size 8
==8982== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==8982== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Address 0x81615b8 is 8 bytes inside a block of size 80 free'd
==8982== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8982== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8982== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8982== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8982== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8982== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Block was alloc'd at
==8982== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8982== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8982== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8982== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8982== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8982== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8982== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8982== Invalid read of size 8
==8982== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==8982== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Address 0x81615b8 is 8 bytes inside a block of size 80 free'd
==8982== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8982== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8982== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8982== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8982== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8982== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Block was alloc'd at
==8982== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8982== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8982== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8982== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8982== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8982== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8982== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==8982== Invalid read of size 8
==8982== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==8982== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Address 0x81615f8 is 72 bytes inside a block of size 80 free'd
==8982== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==8982== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==8982== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==8982== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==8982== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==8982== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==8982== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==8982== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982== Block was alloc'd at
==8982== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==8982== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==8982== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==8982== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==8982== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==8982== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==8982== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==8982== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==8982== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==8982== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==8982== by 0x41B70E: main (nginx.c:364)
==8982==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==9258== Invalid read of size 8
==9258== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==9258== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Address 0x81605d0 is 32 bytes inside a block of size 96 free'd
==9258== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==9258== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==9258== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==9258== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==9258== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==9258== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Block was alloc'd at
==9258== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==9258== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==9258== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==9258== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==9258== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==9258== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==9258== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==9258== Invalid read of size 8
==9258== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==9258== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Address 0x8160700 is 96 bytes inside a block of size 104 free'd
==9258== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==9258== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==9258== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==9258== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==9258== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==9258== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Block was alloc'd at
==9258== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==9258== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==9258== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==9258== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==9258== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==9258== by 0x4F751E: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085)
==9258== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==9258== Invalid read of size 8
==9258== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==9258== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Address 0x81607f0 is 80 bytes inside a block of size 368 free'd
==9258== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==9258== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==9258== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==9258== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==9258== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==9258== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Block was alloc'd at
==9258== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==9258== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==9258== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==9258== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==9258== by 0x5110DF: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==9258== by 0x5110DF: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==9258== Invalid read of size 8
==9258== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==9258== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==9258== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Address 0x8160820 is 128 bytes inside a block of size 368 free'd
==9258== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==9258== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==9258== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==9258== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==9258== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==9258== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Block was alloc'd at
==9258== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==9258== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==9258== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==9258== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==9258== by 0x5110DF: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==9258== by 0x5110DF: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==9258== Invalid read of size 8
==9258== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==9258== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Address 0x81605b8 is 8 bytes inside a block of size 96 free'd
==9258== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==9258== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==9258== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==9258== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==9258== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==9258== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Block was alloc'd at
==9258== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==9258== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==9258== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==9258== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==9258== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==9258== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==9258== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==9258== Invalid read of size 8
==9258== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Address 0x81605b8 is 8 bytes inside a block of size 96 free'd
==9258== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==9258== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==9258== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==9258== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==9258== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==9258== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Block was alloc'd at
==9258== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==9258== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==9258== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==9258== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==9258== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==9258== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==9258== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==9258== Invalid read of size 8
==9258== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Address 0x81604d0 is 0 bytes inside a block of size 80 free'd
==9258== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==9258== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==9258== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==9258== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==9258== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==9258== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Block was alloc'd at
==9258== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==9258== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==9258== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==9258== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==9258== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==9258== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==9258== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==9258== Invalid read of size 8
==9258== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==9258== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Address 0x81604e0 is 16 bytes inside a block of size 80 free'd
==9258== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==9258== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==9258== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==9258== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==9258== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==9258== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Block was alloc'd at
==9258== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==9258== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==9258== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==9258== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==9258== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==9258== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==9258== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==9258== Invalid read of size 8
==9258== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==9258== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Address 0x81604d0 is 0 bytes inside a block of size 80 free'd
==9258== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==9258== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==9258== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==9258== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==9258== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==9258== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Block was alloc'd at
==9258== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==9258== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==9258== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==9258== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==9258== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==9258== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==9258== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==9258== Invalid read of size 8
==9258== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==9258== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Address 0x81604d0 is 0 bytes inside a block of size 80 free'd
==9258== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==9258== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==9258== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==9258== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==9258== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==9258== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Block was alloc'd at
==9258== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==9258== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==9258== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==9258== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==9258== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==9258== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==9258== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==9258== Invalid read of size 8
==9258== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==9258== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Address 0x8160500 is 48 bytes inside a block of size 80 free'd
==9258== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==9258== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==9258== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==9258== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==9258== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==9258== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Block was alloc'd at
==9258== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==9258== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==9258== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==9258== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==9258== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==9258== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==9258== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==9258== Invalid read of size 8
==9258== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==9258== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Address 0x81604e8 is 24 bytes inside a block of size 80 free'd
==9258== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==9258== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==9258== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==9258== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==9258== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==9258== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Block was alloc'd at
==9258== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==9258== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==9258== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==9258== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==9258== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==9258== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==9258== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==9258== Invalid read of size 8
==9258== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==9258== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Address 0x81604d8 is 8 bytes inside a block of size 80 free'd
==9258== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==9258== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==9258== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==9258== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==9258== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==9258== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Block was alloc'd at
==9258== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==9258== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==9258== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==9258== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==9258== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==9258== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==9258== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==9258== Invalid read of size 8
==9258== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==9258== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Address 0x81604d8 is 8 bytes inside a block of size 80 free'd
==9258== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==9258== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==9258== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==9258== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==9258== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==9258== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Block was alloc'd at
==9258== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==9258== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==9258== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==9258== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==9258== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==9258== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==9258== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
108-timer-safe.t TEST 10: ngx.thread API ==9258== Invalid read of size 8
==9258== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==9258== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Address 0x8160518 is 72 bytes inside a block of size 80 free'd
==9258== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==9258== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==9258== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==9258== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==9258== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==9258== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==9258== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==9258== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258== Block was alloc'd at
==9258== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==9258== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==9258== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==9258== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==9258== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==9258== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==9258== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==9258== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==9258== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==9258== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==9258== by 0x41B70E: main (nginx.c:364)
==9258==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_timer_handler
fun:ngx_event_expire_timers
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10429== Invalid read of size 8
==10429== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==10429== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Address 0x80f8fb0 is 32 bytes inside a block of size 96 free'd
==10429== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10429== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10429== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10429== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10429== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10429== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10429== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10429== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10429== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10429== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Block was alloc'd at
==10429== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10429== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10429== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10429== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10429== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==10429== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10429== Invalid read of size 8
==10429== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==10429== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Address 0x80f9170 is 96 bytes inside a block of size 104 free'd
==10429== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10429== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10429== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10429== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10429== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10429== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10429== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10429== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10429== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10429== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Block was alloc'd at
==10429== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10429== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10429== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10429== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10429== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==10429== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10429== Invalid read of size 8
==10429== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==10429== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Address 0x80f9260 is 80 bytes inside a block of size 368 free'd
==10429== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10429== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10429== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10429== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10429== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10429== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10429== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10429== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10429== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10429== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Block was alloc'd at
==10429== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10429== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10429== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10429== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10429== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==10429== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10429== Invalid read of size 8
==10429== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==10429== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==10429== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Address 0x80f9290 is 128 bytes inside a block of size 368 free'd
==10429== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10429== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10429== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10429== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10429== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10429== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10429== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10429== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10429== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10429== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Block was alloc'd at
==10429== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10429== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10429== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10429== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10429== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==10429== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10429== Invalid read of size 8
==10429== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==10429== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Address 0x80f8f98 is 8 bytes inside a block of size 96 free'd
==10429== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10429== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10429== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10429== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10429== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10429== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10429== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10429== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10429== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10429== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Block was alloc'd at
==10429== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10429== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10429== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10429== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10429== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==10429== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10429== Invalid read of size 8
==10429== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==10429== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10429== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Address 0x80f8f98 is 8 bytes inside a block of size 96 free'd
==10429== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10429== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10429== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10429== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10429== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10429== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10429== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10429== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10429== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10429== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Block was alloc'd at
==10429== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10429== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10429== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10429== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10429== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==10429== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10429== Invalid read of size 8
==10429== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10429== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10429== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Address 0x80f8e10 is 0 bytes inside a block of size 80 free'd
==10429== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10429== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10429== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10429== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10429== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10429== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10429== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10429== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10429== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10429== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Block was alloc'd at
==10429== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10429== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10429== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10429== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10429== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10429== Invalid read of size 8
==10429== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==10429== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10429== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10429== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Address 0x80f8e20 is 16 bytes inside a block of size 80 free'd
==10429== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10429== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10429== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10429== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10429== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10429== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10429== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10429== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10429== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10429== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Block was alloc'd at
==10429== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10429== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10429== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10429== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10429== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10429== Invalid read of size 8
==10429== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==10429== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10429== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10429== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Address 0x80f8e10 is 0 bytes inside a block of size 80 free'd
==10429== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10429== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10429== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10429== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10429== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10429== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10429== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10429== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10429== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10429== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Block was alloc'd at
==10429== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10429== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10429== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10429== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10429== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10429== Invalid read of size 8
==10429== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==10429== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10429== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10429== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Address 0x80f8e10 is 0 bytes inside a block of size 80 free'd
==10429== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10429== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10429== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10429== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10429== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10429== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10429== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10429== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10429== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10429== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Block was alloc'd at
==10429== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10429== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10429== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10429== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10429== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10429== Invalid read of size 8
==10429== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==10429== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10429== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10429== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Address 0x80f8e40 is 48 bytes inside a block of size 80 free'd
==10429== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10429== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10429== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10429== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10429== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10429== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10429== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10429== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10429== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10429== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Block was alloc'd at
==10429== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10429== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10429== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10429== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10429== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10429== Invalid read of size 8
==10429== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==10429== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10429== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10429== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Address 0x80f8e28 is 24 bytes inside a block of size 80 free'd
==10429== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10429== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10429== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10429== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10429== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10429== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10429== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10429== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10429== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10429== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Block was alloc'd at
==10429== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10429== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10429== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10429== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10429== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10429== Invalid read of size 8
==10429== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==10429== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10429== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10429== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Address 0x80f8e18 is 8 bytes inside a block of size 80 free'd
==10429== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10429== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10429== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10429== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10429== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10429== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10429== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10429== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10429== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10429== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Block was alloc'd at
==10429== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10429== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10429== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10429== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10429== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10429== Invalid read of size 8
==10429== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==10429== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10429== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10429== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Address 0x80f8e18 is 8 bytes inside a block of size 80 free'd
==10429== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10429== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10429== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10429== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10429== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10429== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10429== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10429== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10429== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10429== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Block was alloc'd at
==10429== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10429== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10429== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10429== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10429== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==10429== Invalid read of size 8
==10429== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==10429== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10429== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10429== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Address 0x80f8e58 is 72 bytes inside a block of size 80 free'd
==10429== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10429== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10429== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10429== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10429== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10429== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10429== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10429== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10429== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10429== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10429== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10429== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10429== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429== Block was alloc'd at
==10429== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10429== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10429== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10429== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10429== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10429== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10429== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10429== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10429== by 0x41B70E: main (nginx.c:364)
==10429==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10462== Invalid read of size 8
==10462== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==10462== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Address 0x80f8c40 is 32 bytes inside a block of size 96 free'd
==10462== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10462== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10462== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10462== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10462== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10462== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10462== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10462== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10462== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10462== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Block was alloc'd at
==10462== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10462== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10462== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10462== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10462== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==10462== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10462== Invalid read of size 8
==10462== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==10462== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Address 0x80f8e00 is 96 bytes inside a block of size 104 free'd
==10462== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10462== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10462== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10462== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10462== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10462== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10462== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10462== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10462== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10462== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Block was alloc'd at
==10462== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10462== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10462== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10462== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10462== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==10462== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10462== Invalid read of size 8
==10462== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==10462== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Address 0x80f8ef0 is 80 bytes inside a block of size 368 free'd
==10462== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10462== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10462== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10462== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10462== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10462== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10462== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10462== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10462== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10462== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Block was alloc'd at
==10462== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10462== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10462== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10462== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10462== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==10462== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10462== Invalid read of size 8
==10462== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==10462== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==10462== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Address 0x80f8f20 is 128 bytes inside a block of size 368 free'd
==10462== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10462== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10462== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10462== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10462== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10462== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10462== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10462== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10462== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10462== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Block was alloc'd at
==10462== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10462== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10462== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10462== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10462== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==10462== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10462== Invalid read of size 8
==10462== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==10462== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Address 0x80f8c28 is 8 bytes inside a block of size 96 free'd
==10462== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10462== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10462== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10462== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10462== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10462== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10462== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10462== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10462== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10462== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Block was alloc'd at
==10462== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10462== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10462== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10462== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10462== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==10462== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10462== Invalid read of size 8
==10462== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==10462== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10462== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Address 0x80f8c28 is 8 bytes inside a block of size 96 free'd
==10462== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10462== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10462== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10462== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10462== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10462== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10462== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10462== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10462== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10462== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Block was alloc'd at
==10462== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10462== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10462== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10462== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10462== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==10462== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10462== Invalid read of size 8
==10462== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10462== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10462== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Address 0x80f8aa0 is 0 bytes inside a block of size 80 free'd
==10462== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10462== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10462== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10462== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10462== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10462== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10462== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10462== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10462== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10462== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Block was alloc'd at
==10462== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10462== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10462== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10462== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10462== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10462== Invalid read of size 8
==10462== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==10462== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10462== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10462== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Address 0x80f8ab0 is 16 bytes inside a block of size 80 free'd
==10462== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10462== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10462== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10462== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10462== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10462== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10462== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10462== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10462== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10462== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Block was alloc'd at
==10462== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10462== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10462== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10462== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10462== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10462== Invalid read of size 8
==10462== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==10462== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10462== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10462== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Address 0x80f8aa0 is 0 bytes inside a block of size 80 free'd
==10462== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10462== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10462== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10462== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10462== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10462== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10462== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10462== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10462== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10462== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Block was alloc'd at
==10462== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10462== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10462== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10462== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10462== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10462== Invalid read of size 8
==10462== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==10462== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10462== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10462== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Address 0x80f8aa0 is 0 bytes inside a block of size 80 free'd
==10462== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10462== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10462== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10462== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10462== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10462== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10462== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10462== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10462== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10462== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Block was alloc'd at
==10462== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10462== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10462== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10462== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10462== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10462== Invalid read of size 8
==10462== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==10462== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10462== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10462== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Address 0x80f8ad0 is 48 bytes inside a block of size 80 free'd
==10462== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10462== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10462== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10462== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10462== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10462== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10462== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10462== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10462== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10462== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Block was alloc'd at
==10462== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10462== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10462== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10462== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10462== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10462== Invalid read of size 8
==10462== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==10462== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10462== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10462== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Address 0x80f8ab8 is 24 bytes inside a block of size 80 free'd
==10462== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10462== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10462== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10462== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10462== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10462== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10462== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10462== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10462== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10462== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Block was alloc'd at
==10462== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10462== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10462== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10462== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10462== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10462== Invalid read of size 8
==10462== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==10462== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10462== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10462== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Address 0x80f8aa8 is 8 bytes inside a block of size 80 free'd
==10462== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10462== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10462== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10462== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10462== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10462== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10462== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10462== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10462== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10462== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Block was alloc'd at
==10462== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10462== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10462== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10462== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10462== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10462== Invalid read of size 8
==10462== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==10462== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10462== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10462== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Address 0x80f8aa8 is 8 bytes inside a block of size 80 free'd
==10462== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10462== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10462== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10462== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10462== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10462== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10462== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10462== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10462== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10462== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Block was alloc'd at
==10462== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10462== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10462== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10462== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10462== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==10462== Invalid read of size 8
==10462== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==10462== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10462== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10462== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Address 0x80f8ae8 is 72 bytes inside a block of size 80 free'd
==10462== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10462== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10462== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10462== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10462== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10462== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10462== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10462== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10462== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10462== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10462== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10462== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10462== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462== Block was alloc'd at
==10462== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10462== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10462== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10462== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10462== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10462== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10462== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10462== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10462== by 0x41B70E: main (nginx.c:364)
==10462==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==10473== Invalid read of size 8
==10473== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==10473== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Address 0x810c910 is 32 bytes inside a block of size 96 free'd
==10473== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10473== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10473== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10473== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10473== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10473== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10473== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10473== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10473== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10473== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Block was alloc'd at
==10473== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10473== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10473== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10473== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10473== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==10473== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==10473== Invalid read of size 8
==10473== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==10473== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Address 0x810cad0 is 96 bytes inside a block of size 104 free'd
==10473== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10473== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10473== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10473== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10473== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10473== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10473== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10473== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10473== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10473== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Block was alloc'd at
==10473== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10473== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10473== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10473== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10473== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==10473== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==10473== Invalid read of size 8
==10473== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==10473== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Address 0x810cbc0 is 80 bytes inside a block of size 368 free'd
==10473== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10473== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10473== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10473== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10473== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10473== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10473== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10473== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10473== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10473== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Block was alloc'd at
==10473== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10473== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10473== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10473== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10473== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==10473== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==10473== Invalid read of size 8
==10473== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==10473== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==10473== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Address 0x810cbf0 is 128 bytes inside a block of size 368 free'd
==10473== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10473== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10473== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10473== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10473== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10473== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10473== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10473== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10473== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10473== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Block was alloc'd at
==10473== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10473== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10473== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10473== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10473== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==10473== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==10473== Invalid read of size 8
==10473== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==10473== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Address 0x810c8f8 is 8 bytes inside a block of size 96 free'd
==10473== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10473== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10473== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10473== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10473== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10473== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10473== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10473== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10473== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10473== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Block was alloc'd at
==10473== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10473== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10473== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10473== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10473== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==10473== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==10473== Invalid read of size 8
==10473== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==10473== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10473== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Address 0x810c8f8 is 8 bytes inside a block of size 96 free'd
==10473== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10473== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10473== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10473== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10473== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10473== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10473== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10473== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10473== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10473== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Block was alloc'd at
==10473== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10473== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10473== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10473== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10473== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==10473== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==10473== Invalid read of size 8
==10473== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10473== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10473== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Address 0x810c770 is 0 bytes inside a block of size 80 free'd
==10473== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10473== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10473== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10473== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10473== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10473== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10473== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10473== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10473== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10473== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Block was alloc'd at
==10473== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10473== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10473== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10473== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10473== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==10473== Invalid read of size 8
==10473== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==10473== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10473== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10473== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Address 0x810c780 is 16 bytes inside a block of size 80 free'd
==10473== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10473== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10473== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10473== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10473== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10473== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10473== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10473== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10473== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10473== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Block was alloc'd at
==10473== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10473== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10473== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10473== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10473== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==10473== Invalid read of size 8
==10473== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==10473== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10473== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10473== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Address 0x810c770 is 0 bytes inside a block of size 80 free'd
==10473== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10473== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10473== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10473== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10473== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10473== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10473== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10473== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10473== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10473== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Block was alloc'd at
==10473== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10473== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10473== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10473== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10473== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==10473== Invalid read of size 8
==10473== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==10473== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10473== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10473== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Address 0x810c770 is 0 bytes inside a block of size 80 free'd
==10473== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10473== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10473== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10473== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10473== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10473== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10473== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10473== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10473== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10473== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Block was alloc'd at
==10473== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10473== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10473== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10473== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10473== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==10473== Invalid read of size 8
==10473== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==10473== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10473== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10473== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Address 0x810c7a0 is 48 bytes inside a block of size 80 free'd
==10473== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10473== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10473== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10473== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10473== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10473== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10473== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10473== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10473== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10473== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Block was alloc'd at
==10473== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10473== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10473== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10473== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10473== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==10473== Invalid read of size 8
==10473== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==10473== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10473== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10473== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Address 0x810c788 is 24 bytes inside a block of size 80 free'd
==10473== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10473== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10473== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10473== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10473== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10473== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10473== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10473== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10473== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10473== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Block was alloc'd at
==10473== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10473== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10473== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10473== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10473== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==10473== Invalid read of size 8
==10473== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==10473== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10473== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10473== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Address 0x810c778 is 8 bytes inside a block of size 80 free'd
==10473== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10473== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10473== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10473== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10473== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10473== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10473== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10473== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10473== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10473== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Block was alloc'd at
==10473== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10473== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10473== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10473== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10473== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==10473== Invalid read of size 8
==10473== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==10473== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10473== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10473== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Address 0x810c778 is 8 bytes inside a block of size 80 free'd
==10473== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10473== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10473== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10473== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10473== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10473== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10473== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10473== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10473== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10473== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Block was alloc'd at
==10473== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10473== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10473== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10473== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10473== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==10473== Invalid read of size 8
==10473== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==10473== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10473== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10473== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Address 0x810c7b8 is 72 bytes inside a block of size 80 free'd
==10473== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10473== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10473== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10473== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10473== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10473== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10473== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10473== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10473== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10473== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10473== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10473== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10473== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473== Block was alloc'd at
==10473== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10473== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10473== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10473== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10473== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10473== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10473== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10473== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10473== by 0x41B70E: main (nginx.c:364)
==10473==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10484== Invalid read of size 8
==10484== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==10484== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Address 0x80f9000 is 32 bytes inside a block of size 96 free'd
==10484== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10484== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10484== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10484== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10484== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10484== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10484== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10484== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10484== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10484== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Block was alloc'd at
==10484== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10484== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10484== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10484== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10484== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==10484== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10484== Invalid read of size 8
==10484== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==10484== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Address 0x80f91c0 is 96 bytes inside a block of size 104 free'd
==10484== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10484== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10484== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10484== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10484== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10484== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10484== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10484== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10484== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10484== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Block was alloc'd at
==10484== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10484== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10484== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10484== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10484== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==10484== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10484== Invalid read of size 8
==10484== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==10484== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Address 0x80f92b0 is 80 bytes inside a block of size 368 free'd
==10484== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10484== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10484== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10484== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10484== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10484== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10484== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10484== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10484== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10484== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Block was alloc'd at
==10484== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10484== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10484== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10484== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10484== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==10484== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10484== Invalid read of size 8
==10484== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==10484== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==10484== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Address 0x80f92e0 is 128 bytes inside a block of size 368 free'd
==10484== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10484== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10484== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10484== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10484== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10484== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10484== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10484== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10484== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10484== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Block was alloc'd at
==10484== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10484== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10484== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10484== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10484== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==10484== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10484== Invalid read of size 8
==10484== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==10484== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Address 0x80f8fe8 is 8 bytes inside a block of size 96 free'd
==10484== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10484== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10484== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10484== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10484== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10484== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10484== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10484== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10484== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10484== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Block was alloc'd at
==10484== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10484== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10484== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10484== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10484== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==10484== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10484== Invalid read of size 8
==10484== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==10484== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10484== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Address 0x80f8fe8 is 8 bytes inside a block of size 96 free'd
==10484== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10484== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10484== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10484== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10484== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10484== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10484== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10484== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10484== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10484== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Block was alloc'd at
==10484== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10484== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10484== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10484== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10484== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==10484== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10484== Invalid read of size 8
==10484== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10484== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10484== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Address 0x80f8e60 is 0 bytes inside a block of size 80 free'd
==10484== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10484== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10484== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10484== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10484== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10484== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10484== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10484== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10484== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10484== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Block was alloc'd at
==10484== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10484== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10484== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10484== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10484== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10484== Invalid read of size 8
==10484== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==10484== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10484== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10484== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Address 0x80f8e70 is 16 bytes inside a block of size 80 free'd
==10484== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10484== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10484== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10484== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10484== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10484== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10484== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10484== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10484== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10484== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Block was alloc'd at
==10484== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10484== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10484== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10484== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10484== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10484== Invalid read of size 8
==10484== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==10484== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10484== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10484== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Address 0x80f8e60 is 0 bytes inside a block of size 80 free'd
==10484== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10484== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10484== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10484== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10484== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10484== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10484== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10484== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10484== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10484== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Block was alloc'd at
==10484== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10484== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10484== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10484== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10484== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10484== Invalid read of size 8
==10484== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==10484== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10484== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10484== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Address 0x80f8e60 is 0 bytes inside a block of size 80 free'd
==10484== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10484== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10484== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10484== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10484== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10484== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10484== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10484== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10484== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10484== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Block was alloc'd at
==10484== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10484== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10484== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10484== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10484== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10484== Invalid read of size 8
==10484== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==10484== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10484== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10484== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Address 0x80f8e90 is 48 bytes inside a block of size 80 free'd
==10484== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10484== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10484== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10484== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10484== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10484== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10484== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10484== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10484== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10484== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Block was alloc'd at
==10484== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10484== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10484== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10484== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10484== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10484== Invalid read of size 8
==10484== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==10484== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10484== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10484== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Address 0x80f8e78 is 24 bytes inside a block of size 80 free'd
==10484== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10484== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10484== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10484== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10484== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10484== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10484== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10484== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10484== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10484== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Block was alloc'd at
==10484== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10484== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10484== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10484== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10484== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10484== Invalid read of size 8
==10484== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==10484== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10484== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10484== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Address 0x80f8e68 is 8 bytes inside a block of size 80 free'd
==10484== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10484== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10484== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10484== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10484== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10484== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10484== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10484== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10484== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10484== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Block was alloc'd at
==10484== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10484== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10484== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10484== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10484== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10484== Invalid read of size 8
==10484== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==10484== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10484== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10484== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Address 0x80f8e68 is 8 bytes inside a block of size 80 free'd
==10484== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10484== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10484== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10484== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10484== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10484== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10484== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10484== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10484== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10484== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Block was alloc'd at
==10484== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10484== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10484== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10484== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10484== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==10484== Invalid read of size 8
==10484== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==10484== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==10484== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==10484== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Address 0x80f8ea8 is 72 bytes inside a block of size 80 free'd
==10484== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==10484== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==10484== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==10484== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==10484== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==10484== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==10484== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==10484== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==10484== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==10484== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==10484== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==10484== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==10484== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484== Block was alloc'd at
==10484== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==10484== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==10484== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==10484== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==10484== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==10484== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==10484== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==10484== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==10484== by 0x41B70E: main (nginx.c:364)
==10484==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}

Expected Failures

File Name Details
106-timer.t TEST 27: user args - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 2: separated global env - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'stream lua found 8190 pending timers
'
expected: 'stream lua found 8191 pending timers
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'stream lua found 8185 pending timers
'
expected: 'stream lua found 8191 pending timers
'
132-lua-blocks.t nginx: [emerg] unexpected lua closing long-bracket in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]=]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] "http" directive is not allowed here in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:28
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22

Warnings

Go back to the index page.