(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 (rv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
72d8cf57 2016-11-08 20:36:07 GMT 390 182 94 7509 2616 sec

LuaJIT

LuaJIT 2.1.0-beta2, commit e244b1d

Compilation Errors

Unexpected Failures

File Name Details
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==26745== Invalid read of size 8
==26745== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Address 0x83d2680 is 32 bytes inside a block of size 96 free'd
==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Block was alloc'd at
==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26745== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26745== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==26745== Invalid read of size 8
==26745== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Address 0x83d2840 is 96 bytes inside a block of size 104 free'd
==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Block was alloc'd at
==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26745== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26745== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==26745== Invalid read of size 8
==26745== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Address 0x83d2930 is 80 bytes inside a block of size 368 free'd
==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Block was alloc'd at
==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26745== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26745== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==26745== Invalid read of size 8
==26745== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26745== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Address 0x83d2960 is 128 bytes inside a block of size 368 free'd
==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Block was alloc'd at
==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26745== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26745== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745==
{
<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_event_process_posted
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 ==26745== Invalid read of size 8
==26745== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Address 0x83d2668 is 8 bytes inside a block of size 96 free'd
==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Block was alloc'd at
==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26745== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26745== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==26745== Invalid read of size 8
==26745== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Address 0x83d2668 is 8 bytes inside a block of size 96 free'd
==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Block was alloc'd at
==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26745== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26745== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745==
{
<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_event_process_posted
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 ==26745== Invalid read of size 8
==26745== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Address 0x83d24e0 is 0 bytes inside a block of size 80 free'd
==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Block was alloc'd at
==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745==
{
<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_event_process_posted
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 ==26745== Invalid read of size 8
==26745== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==26745== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Address 0x83d24f0 is 16 bytes inside a block of size 80 free'd
==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Block was alloc'd at
==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==26745== Invalid read of size 8
==26745== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==26745== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Address 0x83d24e0 is 0 bytes inside a block of size 80 free'd
==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Block was alloc'd at
==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==26745== Invalid read of size 8
==26745== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==26745== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Address 0x83d24e0 is 0 bytes inside a block of size 80 free'd
==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Block was alloc'd at
==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==26745== Invalid read of size 8
==26745== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==26745== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Address 0x83d2510 is 48 bytes inside a block of size 80 free'd
==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Block was alloc'd at
==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==26745== Invalid read of size 8
==26745== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==26745== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Address 0x83d24f8 is 24 bytes inside a block of size 80 free'd
==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Block was alloc'd at
==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==26745== Invalid read of size 8
==26745== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==26745== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Address 0x83d24e8 is 8 bytes inside a block of size 80 free'd
==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Block was alloc'd at
==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==26745== Invalid read of size 8
==26745== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==26745== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Address 0x83d24e8 is 8 bytes inside a block of size 80 free'd
==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Block was alloc'd at
==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==26745== Invalid read of size 8
==26745== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==26745== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26745== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26745== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Address 0x83d2528 is 72 bytes inside a block of size 80 free'd
==26745== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26745== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26745== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26745== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26745== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26745== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26745== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26745== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26745== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26745== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26745== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26745== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26745== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745== Block was alloc'd at
==26745== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26745== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26745== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26745== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26745== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26745== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26745== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26745== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26745== by 0x41B70E: main (nginx.c:364)
==26745==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==26756== Invalid read of size 8
==26756== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Address 0x83d3030 is 32 bytes inside a block of size 96 free'd
==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Block was alloc'd at
==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26756== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26756== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==26756== Invalid read of size 8
==26756== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Address 0x83d31f0 is 96 bytes inside a block of size 104 free'd
==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Block was alloc'd at
==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26756== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26756== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==26756== Invalid read of size 8
==26756== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Address 0x83d32e0 is 80 bytes inside a block of size 368 free'd
==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Block was alloc'd at
==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26756== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26756== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==26756== Invalid read of size 8
==26756== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26756== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Address 0x83d5968 is 200 bytes inside a block of size 672 free'd
==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Block was alloc'd at
==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26756== by 0x41D445: ngx_list_init (ngx_list.h:39)
==26756== by 0x41D445: ngx_list_create (ngx_list.c:22)
==26756== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==26756== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==26756== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==26756== by 0x54626F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==26756== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==26756== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756==
{
<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_event_process_posted
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 ==26756== Invalid read of size 8
==26756== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Address 0x83d3018 is 8 bytes inside a block of size 96 free'd
==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Block was alloc'd at
==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26756== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26756== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==26756== Invalid read of size 8
==26756== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Address 0x83d3018 is 8 bytes inside a block of size 96 free'd
==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Block was alloc'd at
==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26756== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26756== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756==
{
<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_event_process_posted
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 ==26756== Invalid read of size 8
==26756== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Address 0x83d2e90 is 0 bytes inside a block of size 80 free'd
==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Block was alloc'd at
==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756==
{
<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_event_process_posted
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 ==26756== Invalid read of size 8
==26756== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==26756== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Address 0x83d2ea0 is 16 bytes inside a block of size 80 free'd
==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Block was alloc'd at
==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==26756== Invalid read of size 8
==26756== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==26756== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Address 0x83d2e90 is 0 bytes inside a block of size 80 free'd
==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Block was alloc'd at
==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==26756== Invalid read of size 8
==26756== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==26756== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Address 0x83d2e90 is 0 bytes inside a block of size 80 free'd
==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Block was alloc'd at
==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==26756== Invalid read of size 8
==26756== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==26756== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Address 0x83d2ec0 is 48 bytes inside a block of size 80 free'd
==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Block was alloc'd at
==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==26756== Invalid read of size 8
==26756== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==26756== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Address 0x83d2ea8 is 24 bytes inside a block of size 80 free'd
==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Block was alloc'd at
==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==26756== Invalid read of size 8
==26756== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==26756== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Address 0x83d2e98 is 8 bytes inside a block of size 80 free'd
==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Block was alloc'd at
==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==26756== Invalid read of size 8
==26756== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==26756== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Address 0x83d2e98 is 8 bytes inside a block of size 80 free'd
==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Block was alloc'd at
==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==26756== Invalid read of size 8
==26756== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==26756== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26756== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26756== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Address 0x83d2ed8 is 72 bytes inside a block of size 80 free'd
==26756== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26756== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26756== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26756== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26756== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26756== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26756== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26756== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26756== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26756== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26756== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26756== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26756== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756== Block was alloc'd at
==26756== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26756== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26756== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26756== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26756== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26756== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26756== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26756== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26756== by 0x41B70E: main (nginx.c:364)
==26756==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==26767== Invalid read of size 8
==26767== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Address 0x83d25f0 is 32 bytes inside a block of size 96 free'd
==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Block was alloc'd at
==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26767== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26767== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==26767== Invalid read of size 8
==26767== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Address 0x83d27b0 is 96 bytes inside a block of size 104 free'd
==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Block was alloc'd at
==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26767== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26767== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==26767== Invalid read of size 8
==26767== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Address 0x83d28a0 is 80 bytes inside a block of size 368 free'd
==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Block was alloc'd at
==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26767== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26767== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==26767== Invalid read of size 8
==26767== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26767== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Address 0x83d28d0 is 128 bytes inside a block of size 368 free'd
==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Block was alloc'd at
==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26767== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26767== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==26767== Invalid read of size 8
==26767== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Address 0x83d25d8 is 8 bytes inside a block of size 96 free'd
==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Block was alloc'd at
==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26767== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26767== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==26767== Invalid read of size 8
==26767== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Address 0x83d25d8 is 8 bytes inside a block of size 96 free'd
==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Block was alloc'd at
==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26767== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26767== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==26767== Invalid read of size 8
==26767== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Address 0x83d2450 is 0 bytes inside a block of size 80 free'd
==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Block was alloc'd at
==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==26767== Invalid read of size 8
==26767== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==26767== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Address 0x83d2460 is 16 bytes inside a block of size 80 free'd
==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Block was alloc'd at
==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==26767== Invalid read of size 8
==26767== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==26767== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Address 0x83d2450 is 0 bytes inside a block of size 80 free'd
==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Block was alloc'd at
==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==26767== Invalid read of size 8
==26767== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==26767== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Address 0x83d2450 is 0 bytes inside a block of size 80 free'd
==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Block was alloc'd at
==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==26767== Invalid read of size 8
==26767== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==26767== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Address 0x83d2480 is 48 bytes inside a block of size 80 free'd
==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Block was alloc'd at
==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==26767== Invalid read of size 8
==26767== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==26767== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Address 0x83d2468 is 24 bytes inside a block of size 80 free'd
==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Block was alloc'd at
==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==26767== Invalid read of size 8
==26767== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==26767== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Address 0x83d2458 is 8 bytes inside a block of size 80 free'd
==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Block was alloc'd at
==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==26767== Invalid read of size 8
==26767== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==26767== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Address 0x83d2458 is 8 bytes inside a block of size 80 free'd
==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Block was alloc'd at
==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==26767== Invalid read of size 8
==26767== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==26767== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26767== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26767== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Address 0x83d2498 is 72 bytes inside a block of size 80 free'd
==26767== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26767== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26767== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26767== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26767== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26767== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26767== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26767== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26767== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26767== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26767== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26767== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26767== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767== Block was alloc'd at
==26767== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26767== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26767== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26767== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26767== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26767== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26767== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26767== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26767== by 0x41B70E: main (nginx.c:364)
==26767==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==26789== Invalid read of size 8
==26789== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Address 0x83d2bf0 is 32 bytes inside a block of size 96 free'd
==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Block was alloc'd at
==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26789== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26789== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==26789== Invalid read of size 8
==26789== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Address 0x83d2db0 is 96 bytes inside a block of size 104 free'd
==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Block was alloc'd at
==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26789== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26789== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==26789== Invalid read of size 8
==26789== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Address 0x83d2ea0 is 80 bytes inside a block of size 368 free'd
==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Block was alloc'd at
==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26789== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26789== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==26789== Invalid read of size 8
==26789== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26789== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Address 0x83d4fc0 is 32 bytes inside a block of size 672 free'd
==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Block was alloc'd at
==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26789== by 0x41D445: ngx_list_init (ngx_list.h:39)
==26789== by 0x41D445: ngx_list_create (ngx_list.c:22)
==26789== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==26789== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==26789== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==26789== by 0x54626F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==26789== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==26789== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==26789== Invalid read of size 8
==26789== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Address 0x83d2bd8 is 8 bytes inside a block of size 96 free'd
==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Block was alloc'd at
==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26789== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26789== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==26789== Invalid read of size 8
==26789== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Address 0x83d2bd8 is 8 bytes inside a block of size 96 free'd
==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Block was alloc'd at
==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26789== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26789== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==26789== Invalid read of size 8
==26789== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Address 0x83d2a50 is 0 bytes inside a block of size 80 free'd
==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Block was alloc'd at
==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==26789== Invalid read of size 8
==26789== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==26789== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Address 0x83d2a60 is 16 bytes inside a block of size 80 free'd
==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Block was alloc'd at
==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==26789== Invalid read of size 8
==26789== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==26789== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Address 0x83d2a50 is 0 bytes inside a block of size 80 free'd
==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Block was alloc'd at
==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==26789== Invalid read of size 8
==26789== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==26789== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Address 0x83d2a50 is 0 bytes inside a block of size 80 free'd
==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Block was alloc'd at
==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==26789== Invalid read of size 8
==26789== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==26789== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Address 0x83d2a80 is 48 bytes inside a block of size 80 free'd
==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Block was alloc'd at
==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==26789== Invalid read of size 8
==26789== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==26789== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Address 0x83d2a68 is 24 bytes inside a block of size 80 free'd
==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Block was alloc'd at
==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==26789== Invalid read of size 8
==26789== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==26789== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Address 0x83d2a58 is 8 bytes inside a block of size 80 free'd
==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Block was alloc'd at
==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==26789== Invalid read of size 8
==26789== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==26789== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Address 0x83d2a58 is 8 bytes inside a block of size 80 free'd
==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Block was alloc'd at
==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==26789== Invalid read of size 8
==26789== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==26789== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26789== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26789== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Address 0x83d2a98 is 72 bytes inside a block of size 80 free'd
==26789== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26789== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26789== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26789== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26789== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26789== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26789== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26789== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26789== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26789== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26789== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26789== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26789== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789== Block was alloc'd at
==26789== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26789== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26789== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26789== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26789== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26789== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26789== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26789== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26789== by 0x41B70E: main (nginx.c:364)
==26789==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==26800== Invalid read of size 8
==26800== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Address 0x83d2ac0 is 32 bytes inside a block of size 96 free'd
==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Block was alloc'd at
==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26800== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26800== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==26800== Invalid read of size 8
==26800== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Address 0x83d2c80 is 96 bytes inside a block of size 104 free'd
==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Block was alloc'd at
==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26800== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26800== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==26800== Invalid read of size 8
==26800== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Address 0x83d2d70 is 80 bytes inside a block of size 368 free'd
==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Block was alloc'd at
==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26800== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26800== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==26800== Invalid read of size 8
==26800== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26800== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Address 0x83d2da0 is 128 bytes inside a block of size 368 free'd
==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Block was alloc'd at
==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26800== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26800== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==26800== Invalid read of size 8
==26800== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Address 0x83d2aa8 is 8 bytes inside a block of size 96 free'd
==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Block was alloc'd at
==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26800== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26800== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==26800== Invalid read of size 8
==26800== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Address 0x83d2aa8 is 8 bytes inside a block of size 96 free'd
==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Block was alloc'd at
==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26800== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26800== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==26800== Invalid read of size 8
==26800== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Address 0x83d2920 is 0 bytes inside a block of size 80 free'd
==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Block was alloc'd at
==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==26800== Invalid read of size 8
==26800== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==26800== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Address 0x83d2930 is 16 bytes inside a block of size 80 free'd
==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Block was alloc'd at
==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==26800== Invalid read of size 8
==26800== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==26800== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Address 0x83d2920 is 0 bytes inside a block of size 80 free'd
==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Block was alloc'd at
==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==26800== Invalid read of size 8
==26800== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==26800== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Address 0x83d2920 is 0 bytes inside a block of size 80 free'd
==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Block was alloc'd at
==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==26800== Invalid read of size 8
==26800== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==26800== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Address 0x83d2950 is 48 bytes inside a block of size 80 free'd
==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Block was alloc'd at
==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==26800== Invalid read of size 8
==26800== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==26800== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Address 0x83d2938 is 24 bytes inside a block of size 80 free'd
==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Block was alloc'd at
==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==26800== Invalid read of size 8
==26800== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==26800== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Address 0x83d2928 is 8 bytes inside a block of size 80 free'd
==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Block was alloc'd at
==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==26800== Invalid read of size 8
==26800== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==26800== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Address 0x83d2928 is 8 bytes inside a block of size 80 free'd
==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Block was alloc'd at
==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==26800== Invalid read of size 8
==26800== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==26800== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26800== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26800== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Address 0x83d2968 is 72 bytes inside a block of size 80 free'd
==26800== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26800== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26800== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26800== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26800== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26800== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26800== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26800== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26800== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26800== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26800== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26800== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26800== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800== Block was alloc'd at
==26800== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26800== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26800== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26800== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26800== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26800== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26800== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26800== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26800== by 0x41B70E: main (nginx.c:364)
==26800==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==26822== Invalid read of size 8
==26822== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Address 0x83d2830 is 32 bytes inside a block of size 96 free'd
==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Block was alloc'd at
==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26822== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26822== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==26822== Invalid read of size 8
==26822== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Address 0x83d29f0 is 96 bytes inside a block of size 104 free'd
==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Block was alloc'd at
==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26822== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26822== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==26822== Invalid read of size 8
==26822== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Address 0x83d2ae0 is 80 bytes inside a block of size 368 free'd
==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Block was alloc'd at
==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26822== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26822== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==26822== Invalid read of size 8
==26822== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26822== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Address 0x83d2b10 is 128 bytes inside a block of size 368 free'd
==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Block was alloc'd at
==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26822== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26822== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822==
{
<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_event_process_posted
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 ==26822== Invalid read of size 8
==26822== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Address 0x83d2818 is 8 bytes inside a block of size 96 free'd
==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Block was alloc'd at
==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26822== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26822== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==26822== Invalid read of size 8
==26822== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Address 0x83d2818 is 8 bytes inside a block of size 96 free'd
==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Block was alloc'd at
==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26822== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26822== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822==
{
<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_event_process_posted
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 ==26822== Invalid read of size 8
==26822== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Address 0x83d2690 is 0 bytes inside a block of size 80 free'd
==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Block was alloc'd at
==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822==
{
<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_event_process_posted
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 ==26822== Invalid read of size 8
==26822== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==26822== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Address 0x83d26a0 is 16 bytes inside a block of size 80 free'd
==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Block was alloc'd at
==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==26822== Invalid read of size 8
==26822== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==26822== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Address 0x83d2690 is 0 bytes inside a block of size 80 free'd
==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Block was alloc'd at
==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==26822== Invalid read of size 8
==26822== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==26822== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Address 0x83d2690 is 0 bytes inside a block of size 80 free'd
==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Block was alloc'd at
==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==26822== Invalid read of size 8
==26822== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==26822== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Address 0x83d26c0 is 48 bytes inside a block of size 80 free'd
==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Block was alloc'd at
==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==26822== Invalid read of size 8
==26822== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==26822== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Address 0x83d26a8 is 24 bytes inside a block of size 80 free'd
==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Block was alloc'd at
==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==26822== Invalid read of size 8
==26822== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==26822== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Address 0x83d2698 is 8 bytes inside a block of size 80 free'd
==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Block was alloc'd at
==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==26822== Invalid read of size 8
==26822== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==26822== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Address 0x83d2698 is 8 bytes inside a block of size 80 free'd
==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Block was alloc'd at
==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==26822== Invalid read of size 8
==26822== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==26822== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26822== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26822== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Address 0x83d26d8 is 72 bytes inside a block of size 80 free'd
==26822== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26822== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26822== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26822== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26822== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26822== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26822== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26822== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26822== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26822== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26822== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26822== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26822== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822== Block was alloc'd at
==26822== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26822== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26822== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26822== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26822== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26822== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26822== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26822== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26822== by 0x41B70E: main (nginx.c:364)
==26822==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==26833== Invalid read of size 8
==26833== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Address 0x83d30d0 is 32 bytes inside a block of size 96 free'd
==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Block was alloc'd at
==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26833== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26833== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==26833== Invalid read of size 8
==26833== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Address 0x83d3290 is 96 bytes inside a block of size 104 free'd
==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Block was alloc'd at
==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26833== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26833== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==26833== Invalid read of size 8
==26833== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Address 0x83d3380 is 80 bytes inside a block of size 368 free'd
==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Block was alloc'd at
==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26833== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26833== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==26833== Invalid read of size 8
==26833== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26833== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Address 0x83d33b0 is 128 bytes inside a block of size 368 free'd
==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Block was alloc'd at
==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26833== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26833== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==26833== Invalid read of size 8
==26833== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Address 0x83d30b8 is 8 bytes inside a block of size 96 free'd
==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Block was alloc'd at
==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26833== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26833== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==26833== Invalid read of size 8
==26833== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Address 0x83d30b8 is 8 bytes inside a block of size 96 free'd
==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Block was alloc'd at
==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26833== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26833== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==26833== Invalid read of size 8
==26833== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Address 0x83d2f30 is 0 bytes inside a block of size 80 free'd
==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Block was alloc'd at
==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==26833== Invalid read of size 8
==26833== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==26833== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Address 0x83d2f40 is 16 bytes inside a block of size 80 free'd
==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Block was alloc'd at
==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==26833== Invalid read of size 8
==26833== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==26833== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Address 0x83d2f30 is 0 bytes inside a block of size 80 free'd
==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Block was alloc'd at
==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==26833== Invalid read of size 8
==26833== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==26833== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Address 0x83d2f30 is 0 bytes inside a block of size 80 free'd
==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Block was alloc'd at
==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==26833== Invalid read of size 8
==26833== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==26833== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Address 0x83d2f60 is 48 bytes inside a block of size 80 free'd
==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Block was alloc'd at
==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==26833== Invalid read of size 8
==26833== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==26833== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Address 0x83d2f48 is 24 bytes inside a block of size 80 free'd
==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Block was alloc'd at
==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==26833== Invalid read of size 8
==26833== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==26833== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Address 0x83d2f38 is 8 bytes inside a block of size 80 free'd
==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Block was alloc'd at
==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==26833== Invalid read of size 8
==26833== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==26833== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Address 0x83d2f38 is 8 bytes inside a block of size 80 free'd
==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Block was alloc'd at
==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==26833== Invalid read of size 8
==26833== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==26833== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26833== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26833== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Address 0x83d2f78 is 72 bytes inside a block of size 80 free'd
==26833== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26833== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26833== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26833== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26833== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26833== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26833== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26833== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26833== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26833== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26833== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26833== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26833== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833== Block was alloc'd at
==26833== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26833== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26833== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26833== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26833== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26833== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26833== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26833== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26833== by 0x41B70E: main (nginx.c:364)
==26833==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==26859== Invalid read of size 8
==26859== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Address 0x83d2ce0 is 32 bytes inside a block of size 96 free'd
==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Block was alloc'd at
==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26859== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26859== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==26859== Invalid read of size 8
==26859== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Address 0x83d2ea0 is 96 bytes inside a block of size 104 free'd
==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Block was alloc'd at
==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26859== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26859== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==26859== Invalid read of size 8
==26859== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Address 0x83d2f90 is 80 bytes inside a block of size 368 free'd
==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Block was alloc'd at
==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26859== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26859== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==26859== Invalid read of size 8
==26859== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26859== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Address 0x83d2fc0 is 128 bytes inside a block of size 368 free'd
==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Block was alloc'd at
==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26859== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26859== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859==
{
<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_event_process_posted
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 ==26859== Invalid read of size 8
==26859== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Address 0x83d2cc8 is 8 bytes inside a block of size 96 free'd
==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Block was alloc'd at
==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26859== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26859== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==26859== Invalid read of size 8
==26859== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Address 0x83d2cc8 is 8 bytes inside a block of size 96 free'd
==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Block was alloc'd at
==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26859== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26859== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859==
{
<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_event_process_posted
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 ==26859== Invalid read of size 8
==26859== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Address 0x83d2b40 is 0 bytes inside a block of size 80 free'd
==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Block was alloc'd at
==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859==
{
<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_event_process_posted
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 ==26859== Invalid read of size 8
==26859== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==26859== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Address 0x83d2b50 is 16 bytes inside a block of size 80 free'd
==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Block was alloc'd at
==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==26859== Invalid read of size 8
==26859== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==26859== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Address 0x83d2b40 is 0 bytes inside a block of size 80 free'd
==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Block was alloc'd at
==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==26859== Invalid read of size 8
==26859== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==26859== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Address 0x83d2b40 is 0 bytes inside a block of size 80 free'd
==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Block was alloc'd at
==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==26859== Invalid read of size 8
==26859== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==26859== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Address 0x83d2b70 is 48 bytes inside a block of size 80 free'd
==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Block was alloc'd at
==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==26859== Invalid read of size 8
==26859== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==26859== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Address 0x83d2b58 is 24 bytes inside a block of size 80 free'd
==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Block was alloc'd at
==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==26859== Invalid read of size 8
==26859== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==26859== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Address 0x83d2b48 is 8 bytes inside a block of size 80 free'd
==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Block was alloc'd at
==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==26859== Invalid read of size 8
==26859== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==26859== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Address 0x83d2b48 is 8 bytes inside a block of size 80 free'd
==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Block was alloc'd at
==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==26859== Invalid read of size 8
==26859== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==26859== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26859== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26859== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Address 0x83d2b88 is 72 bytes inside a block of size 80 free'd
==26859== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26859== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26859== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26859== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26859== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26859== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26859== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26859== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26859== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26859== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26859== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26859== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26859== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859== Block was alloc'd at
==26859== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26859== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26859== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26859== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26859== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26859== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26859== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26859== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26859== by 0x41B70E: main (nginx.c:364)
==26859==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==26892== Invalid read of size 8
==26892== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Address 0x83d3260 is 32 bytes inside a block of size 96 free'd
==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Block was alloc'd at
==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26892== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26892== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==26892== Invalid read of size 8
==26892== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Address 0x83d3420 is 96 bytes inside a block of size 104 free'd
==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Block was alloc'd at
==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26892== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26892== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==26892== Invalid read of size 8
==26892== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Address 0x83d3510 is 80 bytes inside a block of size 368 free'd
==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Block was alloc'd at
==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26892== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26892== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==26892== Invalid read of size 8
==26892== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26892== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Address 0x83d3540 is 128 bytes inside a block of size 368 free'd
==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Block was alloc'd at
==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26892== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26892== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892==
{
<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_event_process_posted
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 ==26892== Invalid read of size 8
==26892== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Address 0x83d3248 is 8 bytes inside a block of size 96 free'd
==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Block was alloc'd at
==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26892== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26892== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==26892== Invalid read of size 8
==26892== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Address 0x83d3248 is 8 bytes inside a block of size 96 free'd
==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Block was alloc'd at
==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26892== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26892== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892==
{
<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_event_process_posted
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 ==26892== Invalid read of size 8
==26892== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Address 0x83d30c0 is 0 bytes inside a block of size 80 free'd
==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Block was alloc'd at
==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892==
{
<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_event_process_posted
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 ==26892== Invalid read of size 8
==26892== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==26892== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Address 0x83d30d0 is 16 bytes inside a block of size 80 free'd
==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Block was alloc'd at
==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==26892== Invalid read of size 8
==26892== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==26892== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Address 0x83d30c0 is 0 bytes inside a block of size 80 free'd
==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Block was alloc'd at
==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==26892== Invalid read of size 8
==26892== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==26892== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Address 0x83d30c0 is 0 bytes inside a block of size 80 free'd
==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Block was alloc'd at
==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==26892== Invalid read of size 8
==26892== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==26892== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Address 0x83d30f0 is 48 bytes inside a block of size 80 free'd
==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Block was alloc'd at
==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==26892== Invalid read of size 8
==26892== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==26892== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Address 0x83d30d8 is 24 bytes inside a block of size 80 free'd
==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Block was alloc'd at
==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==26892== Invalid read of size 8
==26892== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==26892== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Address 0x83d30c8 is 8 bytes inside a block of size 80 free'd
==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Block was alloc'd at
==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==26892== Invalid read of size 8
==26892== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==26892== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Address 0x83d30c8 is 8 bytes inside a block of size 80 free'd
==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Block was alloc'd at
==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==26892== Invalid read of size 8
==26892== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==26892== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26892== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26892== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Address 0x83d3108 is 72 bytes inside a block of size 80 free'd
==26892== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26892== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26892== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26892== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26892== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26892== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26892== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26892== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26892== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26892== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26892== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26892== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26892== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892== Block was alloc'd at
==26892== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26892== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26892== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26892== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26892== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26892== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26892== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26892== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26892== by 0x41B70E: main (nginx.c:364)
==26892==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==26925== Invalid read of size 8
==26925== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Address 0x83d2c70 is 32 bytes inside a block of size 96 free'd
==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Block was alloc'd at
==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26925== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26925== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==26925== Invalid read of size 8
==26925== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Address 0x83d2e30 is 96 bytes inside a block of size 104 free'd
==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Block was alloc'd at
==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26925== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26925== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==26925== Invalid read of size 8
==26925== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Address 0x83d2f20 is 80 bytes inside a block of size 368 free'd
==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Block was alloc'd at
==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26925== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26925== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==26925== Invalid read of size 8
==26925== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26925== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Address 0x83d2f50 is 128 bytes inside a block of size 368 free'd
==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Block was alloc'd at
==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26925== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26925== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925==
{
<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_event_process_posted
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 ==26925== Invalid read of size 8
==26925== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Address 0x83d2c58 is 8 bytes inside a block of size 96 free'd
==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Block was alloc'd at
==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26925== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26925== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==26925== Invalid read of size 8
==26925== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Address 0x83d2c58 is 8 bytes inside a block of size 96 free'd
==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Block was alloc'd at
==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26925== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26925== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925==
{
<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_event_process_posted
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 ==26925== Invalid read of size 8
==26925== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Address 0x83d2ad0 is 0 bytes inside a block of size 80 free'd
==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Block was alloc'd at
==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925==
{
<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_event_process_posted
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 ==26925== Invalid read of size 8
==26925== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==26925== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Address 0x83d2ae0 is 16 bytes inside a block of size 80 free'd
==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Block was alloc'd at
==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==26925== Invalid read of size 8
==26925== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==26925== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Address 0x83d2ad0 is 0 bytes inside a block of size 80 free'd
==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Block was alloc'd at
==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==26925== Invalid read of size 8
==26925== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==26925== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Address 0x83d2ad0 is 0 bytes inside a block of size 80 free'd
==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Block was alloc'd at
==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==26925== Invalid read of size 8
==26925== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==26925== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Address 0x83d2b00 is 48 bytes inside a block of size 80 free'd
==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Block was alloc'd at
==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==26925== Invalid read of size 8
==26925== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==26925== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Address 0x83d2ae8 is 24 bytes inside a block of size 80 free'd
==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Block was alloc'd at
==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==26925== Invalid read of size 8
==26925== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==26925== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Address 0x83d2ad8 is 8 bytes inside a block of size 80 free'd
==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Block was alloc'd at
==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==26925== Invalid read of size 8
==26925== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==26925== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Address 0x83d2ad8 is 8 bytes inside a block of size 80 free'd
==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Block was alloc'd at
==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==26925== Invalid read of size 8
==26925== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==26925== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26925== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26925== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Address 0x83d2b18 is 72 bytes inside a block of size 80 free'd
==26925== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26925== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26925== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26925== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26925== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26925== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26925== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26925== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26925== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26925== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26925== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26925== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26925== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925== Block was alloc'd at
==26925== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26925== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26925== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26925== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26925== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26925== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26925== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26925== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26925== by 0x41B70E: main (nginx.c:364)
==26925==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==26936== Invalid read of size 8
==26936== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Address 0x83d2790 is 32 bytes inside a block of size 96 free'd
==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Block was alloc'd at
==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26936== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26936== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==26936== Invalid read of size 8
==26936== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Address 0x83d2950 is 96 bytes inside a block of size 104 free'd
==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Block was alloc'd at
==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26936== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26936== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==26936== Invalid read of size 8
==26936== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Address 0x83d2a40 is 80 bytes inside a block of size 368 free'd
==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Block was alloc'd at
==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26936== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26936== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==26936== Invalid read of size 8
==26936== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26936== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Address 0x83d2a70 is 128 bytes inside a block of size 368 free'd
==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Block was alloc'd at
==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26936== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26936== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936==
{
<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_event_process_posted
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 ==26936== Invalid read of size 8
==26936== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Address 0x83d2778 is 8 bytes inside a block of size 96 free'd
==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Block was alloc'd at
==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26936== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26936== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==26936== Invalid read of size 8
==26936== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Address 0x83d2778 is 8 bytes inside a block of size 96 free'd
==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Block was alloc'd at
==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26936== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26936== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936==
{
<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_event_process_posted
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 ==26936== Invalid read of size 8
==26936== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Address 0x83d25f0 is 0 bytes inside a block of size 80 free'd
==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Block was alloc'd at
==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936==
{
<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_event_process_posted
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 ==26936== Invalid read of size 8
==26936== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==26936== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Address 0x83d2600 is 16 bytes inside a block of size 80 free'd
==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Block was alloc'd at
==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==26936== Invalid read of size 8
==26936== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==26936== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Address 0x83d25f0 is 0 bytes inside a block of size 80 free'd
==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Block was alloc'd at
==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==26936== Invalid read of size 8
==26936== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==26936== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Address 0x83d25f0 is 0 bytes inside a block of size 80 free'd
==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Block was alloc'd at
==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==26936== Invalid read of size 8
==26936== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==26936== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Address 0x83d2620 is 48 bytes inside a block of size 80 free'd
==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Block was alloc'd at
==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==26936== Invalid read of size 8
==26936== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==26936== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Address 0x83d2608 is 24 bytes inside a block of size 80 free'd
==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Block was alloc'd at
==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==26936== Invalid read of size 8
==26936== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==26936== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Address 0x83d25f8 is 8 bytes inside a block of size 80 free'd
==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Block was alloc'd at
==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==26936== Invalid read of size 8
==26936== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==26936== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Address 0x83d25f8 is 8 bytes inside a block of size 80 free'd
==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Block was alloc'd at
==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==26936== Invalid read of size 8
==26936== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==26936== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26936== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26936== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Address 0x83d2638 is 72 bytes inside a block of size 80 free'd
==26936== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26936== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26936== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26936== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26936== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26936== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26936== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26936== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26936== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26936== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26936== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26936== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26936== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936== Block was alloc'd at
==26936== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26936== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26936== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26936== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26936== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26936== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26936== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26936== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26936== by 0x41B70E: main (nginx.c:364)
==26936==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==26947== Invalid read of size 8
==26947== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Address 0x83d28c0 is 32 bytes inside a block of size 96 free'd
==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Block was alloc'd at
==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26947== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26947== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==26947== Invalid read of size 8
==26947== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Address 0x83d2a80 is 96 bytes inside a block of size 104 free'd
==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Block was alloc'd at
==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26947== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26947== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==26947== Invalid read of size 8
==26947== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Address 0x83d2b70 is 80 bytes inside a block of size 368 free'd
==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Block was alloc'd at
==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26947== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==26947== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==26947== Invalid read of size 8
==26947== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==26947== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Address 0x83d4ab0 is 32 bytes inside a block of size 672 free'd
==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Block was alloc'd at
==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26947== by 0x41D445: ngx_list_init (ngx_list.h:39)
==26947== by 0x41D445: ngx_list_create (ngx_list.c:22)
==26947== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==26947== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==26947== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==26947== by 0x54626F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==26947== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==26947== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947==
{
<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_event_process_posted
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 ==26947== Invalid read of size 8
==26947== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Address 0x83d28a8 is 8 bytes inside a block of size 96 free'd
==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Block was alloc'd at
==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26947== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26947== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==26947== Invalid read of size 8
==26947== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Address 0x83d28a8 is 8 bytes inside a block of size 96 free'd
==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Block was alloc'd at
==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26947== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==26947== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947==
{
<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_event_process_posted
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 ==26947== Invalid read of size 8
==26947== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Address 0x83d2720 is 0 bytes inside a block of size 80 free'd
==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Block was alloc'd at
==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947==
{
<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_event_process_posted
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 ==26947== Invalid read of size 8
==26947== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==26947== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Address 0x83d2730 is 16 bytes inside a block of size 80 free'd
==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Block was alloc'd at
==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==26947== Invalid read of size 8
==26947== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==26947== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Address 0x83d2720 is 0 bytes inside a block of size 80 free'd
==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Block was alloc'd at
==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==26947== Invalid read of size 8
==26947== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==26947== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Address 0x83d2720 is 0 bytes inside a block of size 80 free'd
==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Block was alloc'd at
==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==26947== Invalid read of size 8
==26947== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==26947== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Address 0x83d2750 is 48 bytes inside a block of size 80 free'd
==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Block was alloc'd at
==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==26947== Invalid read of size 8
==26947== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==26947== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Address 0x83d2738 is 24 bytes inside a block of size 80 free'd
==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Block was alloc'd at
==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==26947== Invalid read of size 8
==26947== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==26947== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Address 0x83d2728 is 8 bytes inside a block of size 80 free'd
==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Block was alloc'd at
==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==26947== Invalid read of size 8
==26947== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==26947== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Address 0x83d2728 is 8 bytes inside a block of size 80 free'd
==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Block was alloc'd at
==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==26947== Invalid read of size 8
==26947== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==26947== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==26947== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==26947== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Address 0x83d2768 is 72 bytes inside a block of size 80 free'd
==26947== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==26947== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==26947== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==26947== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==26947== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==26947== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==26947== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==26947== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==26947== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==26947== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==26947== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==26947== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==26947== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947== Block was alloc'd at
==26947== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==26947== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==26947== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==26947== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==26947== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==26947== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==26947== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==26947== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==26947== by 0x41B70E: main (nginx.c:364)
==26947==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==27164== Invalid read of size 8
==27164== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Address 0x83bec50 is 32 bytes inside a block of size 96 free'd
==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Block was alloc'd at
==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27164== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27164== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==27164== Invalid read of size 8
==27164== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Address 0x83bee10 is 96 bytes inside a block of size 104 free'd
==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Block was alloc'd at
==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27164== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27164== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==27164== Invalid read of size 8
==27164== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Address 0x83bef00 is 80 bytes inside a block of size 368 free'd
==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Block was alloc'd at
==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27164== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27164== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==27164== Invalid read of size 8
==27164== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==27164== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Address 0x83bef30 is 128 bytes inside a block of size 368 free'd
==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Block was alloc'd at
==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27164== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27164== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164==
{
<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_event_process_posted
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 ==27164== Invalid read of size 8
==27164== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Address 0x83bec38 is 8 bytes inside a block of size 96 free'd
==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Block was alloc'd at
==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27164== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27164== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==27164== Invalid read of size 8
==27164== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Address 0x83bec38 is 8 bytes inside a block of size 96 free'd
==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Block was alloc'd at
==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27164== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27164== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164==
{
<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_event_process_posted
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 ==27164== Invalid read of size 8
==27164== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Address 0x83beab0 is 0 bytes inside a block of size 80 free'd
==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Block was alloc'd at
==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164==
{
<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_event_process_posted
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 ==27164== Invalid read of size 8
==27164== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==27164== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Address 0x83beac0 is 16 bytes inside a block of size 80 free'd
==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Block was alloc'd at
==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==27164== Invalid read of size 8
==27164== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==27164== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Address 0x83beab0 is 0 bytes inside a block of size 80 free'd
==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Block was alloc'd at
==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==27164== Invalid read of size 8
==27164== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==27164== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Address 0x83beab0 is 0 bytes inside a block of size 80 free'd
==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Block was alloc'd at
==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==27164== Invalid read of size 8
==27164== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==27164== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Address 0x83beae0 is 48 bytes inside a block of size 80 free'd
==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Block was alloc'd at
==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==27164== Invalid read of size 8
==27164== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==27164== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Address 0x83beac8 is 24 bytes inside a block of size 80 free'd
==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Block was alloc'd at
==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==27164== Invalid read of size 8
==27164== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==27164== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Address 0x83beab8 is 8 bytes inside a block of size 80 free'd
==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Block was alloc'd at
==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==27164== Invalid read of size 8
==27164== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==27164== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Address 0x83beab8 is 8 bytes inside a block of size 80 free'd
==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Block was alloc'd at
==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==27164== Invalid read of size 8
==27164== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==27164== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27164== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27164== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Address 0x83beaf8 is 72 bytes inside a block of size 80 free'd
==27164== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27164== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27164== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27164== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27164== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27164== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27164== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27164== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27164== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27164== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27164== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27164== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27164== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164== Block was alloc'd at
==27164== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27164== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27164== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27164== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27164== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27164== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27164== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27164== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27164== by 0x41B70E: main (nginx.c:364)
==27164==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==27175== Invalid read of size 8
==27175== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Address 0x83bec10 is 32 bytes inside a block of size 96 free'd
==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Block was alloc'd at
==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27175== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27175== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==27175== Invalid read of size 8
==27175== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Address 0x83bedd0 is 96 bytes inside a block of size 104 free'd
==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Block was alloc'd at
==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27175== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27175== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==27175== Invalid read of size 8
==27175== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Address 0x83beec0 is 80 bytes inside a block of size 368 free'd
==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Block was alloc'd at
==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27175== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27175== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==27175== Invalid read of size 8
==27175== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==27175== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Address 0x83beef0 is 128 bytes inside a block of size 368 free'd
==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Block was alloc'd at
==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27175== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27175== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175==
{
<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_event_process_posted
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) ==27175== Invalid read of size 8
==27175== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Address 0x83bebf8 is 8 bytes inside a block of size 96 free'd
==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Block was alloc'd at
==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27175== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27175== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==27175== Invalid read of size 8
==27175== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Address 0x83bebf8 is 8 bytes inside a block of size 96 free'd
==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Block was alloc'd at
==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27175== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27175== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175==
{
<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_event_process_posted
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) ==27175== Invalid read of size 8
==27175== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Address 0x83bea70 is 0 bytes inside a block of size 80 free'd
==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Block was alloc'd at
==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175==
{
<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_event_process_posted
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) ==27175== Invalid read of size 8
==27175== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==27175== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Address 0x83bea80 is 16 bytes inside a block of size 80 free'd
==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Block was alloc'd at
==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==27175== Invalid read of size 8
==27175== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==27175== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Address 0x83bea70 is 0 bytes inside a block of size 80 free'd
==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Block was alloc'd at
==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==27175== Invalid read of size 8
==27175== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==27175== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Address 0x83bea70 is 0 bytes inside a block of size 80 free'd
==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Block was alloc'd at
==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==27175== Invalid read of size 8
==27175== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==27175== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Address 0x83beaa0 is 48 bytes inside a block of size 80 free'd
==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Block was alloc'd at
==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==27175== Invalid read of size 8
==27175== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==27175== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Address 0x83bea88 is 24 bytes inside a block of size 80 free'd
==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Block was alloc'd at
==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==27175== Invalid read of size 8
==27175== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==27175== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Address 0x83bea78 is 8 bytes inside a block of size 80 free'd
==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Block was alloc'd at
==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==27175== Invalid read of size 8
==27175== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==27175== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Address 0x83bea78 is 8 bytes inside a block of size 80 free'd
==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Block was alloc'd at
==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 5: simple user thread wait without I/O (return multiple values) ==27175== Invalid read of size 8
==27175== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==27175== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27175== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27175== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Address 0x83beab8 is 72 bytes inside a block of size 80 free'd
==27175== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27175== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27175== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27175== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27175== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27175== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27175== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27175== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27175== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27175== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27175== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27175== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27175== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175== Block was alloc'd at
==27175== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27175== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27175== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27175== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27175== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27175== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27175== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27175== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27175== by 0x41B70E: main (nginx.c:364)
==27175==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==27208== Invalid read of size 8
==27208== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Address 0x83bece0 is 32 bytes inside a block of size 96 free'd
==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Block was alloc'd at
==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27208== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27208== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==27208== Invalid read of size 8
==27208== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Address 0x83beea0 is 96 bytes inside a block of size 104 free'd
==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Block was alloc'd at
==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27208== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27208== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==27208== Invalid read of size 8
==27208== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Address 0x83bef90 is 80 bytes inside a block of size 368 free'd
==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Block was alloc'd at
==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27208== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27208== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==27208== Invalid read of size 8
==27208== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==27208== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Address 0x83befc0 is 128 bytes inside a block of size 368 free'd
==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Block was alloc'd at
==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27208== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27208== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==27208== Invalid read of size 8
==27208== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Address 0x83becc8 is 8 bytes inside a block of size 96 free'd
==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Block was alloc'd at
==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27208== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27208== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==27208== Invalid read of size 8
==27208== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Address 0x83becc8 is 8 bytes inside a block of size 96 free'd
==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Block was alloc'd at
==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27208== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27208== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==27208== Invalid read of size 8
==27208== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Address 0x83beb40 is 0 bytes inside a block of size 80 free'd
==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Block was alloc'd at
==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==27208== Invalid read of size 8
==27208== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==27208== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Address 0x83beb50 is 16 bytes inside a block of size 80 free'd
==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Block was alloc'd at
==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==27208== Invalid read of size 8
==27208== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==27208== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Address 0x83beb40 is 0 bytes inside a block of size 80 free'd
==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Block was alloc'd at
==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==27208== Invalid read of size 8
==27208== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==27208== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Address 0x83beb40 is 0 bytes inside a block of size 80 free'd
==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Block was alloc'd at
==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==27208== Invalid read of size 8
==27208== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==27208== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Address 0x83beb70 is 48 bytes inside a block of size 80 free'd
==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Block was alloc'd at
==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==27208== Invalid read of size 8
==27208== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==27208== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Address 0x83beb58 is 24 bytes inside a block of size 80 free'd
==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Block was alloc'd at
==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==27208== Invalid read of size 8
==27208== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==27208== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Address 0x83beb48 is 8 bytes inside a block of size 80 free'd
==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Block was alloc'd at
==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==27208== Invalid read of size 8
==27208== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==27208== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Address 0x83beb48 is 8 bytes inside a block of size 80 free'd
==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Block was alloc'd at
==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 21: waiting on a dead coroutine ==27208== Invalid read of size 8
==27208== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==27208== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27208== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27208== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Address 0x83beb88 is 72 bytes inside a block of size 80 free'd
==27208== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27208== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27208== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27208== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27208== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27208== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27208== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27208== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27208== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27208== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27208== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27208== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27208== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208== Block was alloc'd at
==27208== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27208== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27208== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27208== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27208== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27208== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27208== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27208== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27208== by 0x41B70E: main (nginx.c:364)
==27208==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==27230== Invalid read of size 8
==27230== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Address 0x83bea80 is 32 bytes inside a block of size 96 free'd
==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Block was alloc'd at
==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27230== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27230== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==27230== Invalid read of size 8
==27230== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Address 0x83bec40 is 96 bytes inside a block of size 104 free'd
==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Block was alloc'd at
==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27230== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27230== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==27230== Invalid read of size 8
==27230== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Address 0x83bed30 is 80 bytes inside a block of size 368 free'd
==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Block was alloc'd at
==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27230== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27230== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==27230== Invalid read of size 8
==27230== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==27230== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Address 0x83bed60 is 128 bytes inside a block of size 368 free'd
==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Block was alloc'd at
==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27230== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27230== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230==
{
<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_event_process_posted
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 ==27230== Invalid read of size 8
==27230== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Address 0x83bea68 is 8 bytes inside a block of size 96 free'd
==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Block was alloc'd at
==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27230== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27230== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==27230== Invalid read of size 8
==27230== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Address 0x83bea68 is 8 bytes inside a block of size 96 free'd
==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Block was alloc'd at
==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27230== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27230== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230==
{
<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_event_process_posted
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 ==27230== Invalid read of size 8
==27230== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Address 0x83be8e0 is 0 bytes inside a block of size 80 free'd
==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Block was alloc'd at
==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230==
{
<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_event_process_posted
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 ==27230== Invalid read of size 8
==27230== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==27230== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Address 0x83be8f0 is 16 bytes inside a block of size 80 free'd
==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Block was alloc'd at
==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==27230== Invalid read of size 8
==27230== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==27230== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Address 0x83be8e0 is 0 bytes inside a block of size 80 free'd
==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Block was alloc'd at
==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==27230== Invalid read of size 8
==27230== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==27230== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Address 0x83be8e0 is 0 bytes inside a block of size 80 free'd
==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Block was alloc'd at
==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==27230== Invalid read of size 8
==27230== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==27230== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Address 0x83be910 is 48 bytes inside a block of size 80 free'd
==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Block was alloc'd at
==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==27230== Invalid read of size 8
==27230== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==27230== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Address 0x83be8f8 is 24 bytes inside a block of size 80 free'd
==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Block was alloc'd at
==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==27230== Invalid read of size 8
==27230== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==27230== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Address 0x83be8e8 is 8 bytes inside a block of size 80 free'd
==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Block was alloc'd at
==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==27230== Invalid read of size 8
==27230== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==27230== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Address 0x83be8e8 is 8 bytes inside a block of size 80 free'd
==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Block was alloc'd at
==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==27230== Invalid read of size 8
==27230== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==27230== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27230== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27230== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Address 0x83be928 is 72 bytes inside a block of size 80 free'd
==27230== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27230== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27230== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27230== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27230== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27230== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27230== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27230== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27230== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27230== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27230== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27230== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27230== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230== Block was alloc'd at
==27230== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27230== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27230== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27230== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27230== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27230== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27230== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27230== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27230== by 0x41B70E: main (nginx.c:364)
==27230==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==27241== Invalid read of size 8
==27241== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Address 0x83bec50 is 32 bytes inside a block of size 96 free'd
==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Block was alloc'd at
==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27241== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27241== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==27241== Invalid read of size 8
==27241== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Address 0x83bee10 is 96 bytes inside a block of size 104 free'd
==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Block was alloc'd at
==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27241== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27241== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==27241== Invalid read of size 8
==27241== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Address 0x83bef00 is 80 bytes inside a block of size 368 free'd
==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Block was alloc'd at
==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27241== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27241== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==27241== Invalid read of size 8
==27241== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==27241== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Address 0x83bef30 is 128 bytes inside a block of size 368 free'd
==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Block was alloc'd at
==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27241== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27241== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241==
{
<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_event_process_posted
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) ==27241== Invalid read of size 8
==27241== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Address 0x83bec38 is 8 bytes inside a block of size 96 free'd
==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Block was alloc'd at
==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27241== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27241== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==27241== Invalid read of size 8
==27241== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Address 0x83bec38 is 8 bytes inside a block of size 96 free'd
==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Block was alloc'd at
==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27241== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27241== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241==
{
<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_event_process_posted
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) ==27241== Invalid read of size 8
==27241== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Address 0x83beab0 is 0 bytes inside a block of size 80 free'd
==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Block was alloc'd at
==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241==
{
<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_event_process_posted
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) ==27241== Invalid read of size 8
==27241== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==27241== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Address 0x83beac0 is 16 bytes inside a block of size 80 free'd
==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Block was alloc'd at
==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==27241== Invalid read of size 8
==27241== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==27241== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Address 0x83beab0 is 0 bytes inside a block of size 80 free'd
==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Block was alloc'd at
==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==27241== Invalid read of size 8
==27241== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==27241== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Address 0x83beab0 is 0 bytes inside a block of size 80 free'd
==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Block was alloc'd at
==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==27241== Invalid read of size 8
==27241== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==27241== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Address 0x83beae0 is 48 bytes inside a block of size 80 free'd
==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Block was alloc'd at
==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==27241== Invalid read of size 8
==27241== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==27241== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Address 0x83beac8 is 24 bytes inside a block of size 80 free'd
==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Block was alloc'd at
==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==27241== Invalid read of size 8
==27241== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==27241== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Address 0x83beab8 is 8 bytes inside a block of size 80 free'd
==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Block was alloc'd at
==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==27241== Invalid read of size 8
==27241== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==27241== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Address 0x83beab8 is 8 bytes inside a block of size 80 free'd
==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Block was alloc'd at
==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 9: simple user thread wait without I/O (in a user coroutine) ==27241== Invalid read of size 8
==27241== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==27241== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27241== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27241== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Address 0x83beaf8 is 72 bytes inside a block of size 80 free'd
==27241== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27241== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27241== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27241== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27241== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27241== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27241== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27241== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27241== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27241== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27241== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27241== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27241== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241== Block was alloc'd at
==27241== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27241== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27241== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27241== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27241== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27241== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27241== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27241== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27241== by 0x41B70E: main (nginx.c:364)
==27241==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==27263== Invalid read of size 8
==27263== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Address 0x83bf6a0 is 32 bytes inside a block of size 96 free'd
==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Block was alloc'd at
==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27263== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27263== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==27263== Invalid read of size 8
==27263== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Address 0x83bf860 is 96 bytes inside a block of size 104 free'd
==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Block was alloc'd at
==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27263== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27263== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==27263== Invalid read of size 8
==27263== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Address 0x83bf950 is 80 bytes inside a block of size 368 free'd
==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Block was alloc'd at
==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27263== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27263== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==27263== Invalid read of size 8
==27263== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==27263== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Address 0x83bf980 is 128 bytes inside a block of size 368 free'd
==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Block was alloc'd at
==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27263== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27263== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263==
{
<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_event_process_posted
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 ==27263== Invalid read of size 8
==27263== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Address 0x83bf688 is 8 bytes inside a block of size 96 free'd
==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Block was alloc'd at
==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27263== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27263== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==27263== Invalid read of size 8
==27263== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==27263== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Address 0x83bf688 is 8 bytes inside a block of size 96 free'd
==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Block was alloc'd at
==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27263== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27263== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263==
{
<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_event_process_posted
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 ==27263== Invalid read of size 8
==27263== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27263== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Address 0x83bf500 is 0 bytes inside a block of size 80 free'd
==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Block was alloc'd at
==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27263== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263==
{
<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_event_process_posted
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 ==27263== Invalid read of size 8
==27263== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==27263== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27263== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Address 0x83bf510 is 16 bytes inside a block of size 80 free'd
==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Block was alloc'd at
==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27263== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==27263== Invalid read of size 8
==27263== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==27263== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27263== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Address 0x83bf500 is 0 bytes inside a block of size 80 free'd
==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Block was alloc'd at
==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27263== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==27263== Invalid read of size 8
==27263== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==27263== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27263== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Address 0x83bf500 is 0 bytes inside a block of size 80 free'd
==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Block was alloc'd at
==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27263== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==27263== Invalid read of size 8
==27263== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==27263== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27263== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Address 0x83bf530 is 48 bytes inside a block of size 80 free'd
==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Block was alloc'd at
==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27263== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==27263== Invalid read of size 8
==27263== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==27263== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27263== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Address 0x83bf518 is 24 bytes inside a block of size 80 free'd
==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Block was alloc'd at
==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27263== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==27263== Invalid read of size 8
==27263== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==27263== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27263== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Address 0x83bf508 is 8 bytes inside a block of size 80 free'd
==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Block was alloc'd at
==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27263== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==27263== Invalid read of size 8
==27263== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==27263== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27263== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Address 0x83bf508 is 8 bytes inside a block of size 80 free'd
==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Block was alloc'd at
==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27263== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==27263== Invalid read of size 8
==27263== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==27263== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27263== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27263== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Address 0x83bf548 is 72 bytes inside a block of size 80 free'd
==27263== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27263== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27263== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27263== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27263== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27263== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27263== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27263== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27263== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27263== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27263== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27263== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27263== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263== Block was alloc'd at
==27263== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27263== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27263== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27263== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27263== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27263== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27263== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27263== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27263== by 0x41B70E: main (nginx.c:364)
==27263==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==27285== Invalid read of size 8
==27285== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27285== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Address 0x83bf6b0 is 32 bytes inside a block of size 96 free'd
==27285== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27285== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27285== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27285== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27285== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27285== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27285== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27285== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27285== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27285== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Block was alloc'd at
==27285== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27285== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27285== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27285== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27285== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27285== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==27285== Invalid read of size 8
==27285== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27285== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Address 0x83bf870 is 96 bytes inside a block of size 104 free'd
==27285== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27285== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27285== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27285== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27285== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27285== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27285== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27285== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27285== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27285== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Block was alloc'd at
==27285== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27285== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27285== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27285== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27285== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27285== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==27285== Invalid read of size 8
==27285== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==27285== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Address 0x83bf960 is 80 bytes inside a block of size 368 free'd
==27285== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27285== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27285== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27285== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27285== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27285== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27285== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27285== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27285== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27285== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Block was alloc'd at
==27285== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27285== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27285== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27285== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27285== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27285== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==27285== Invalid read of size 8
==27285== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==27285== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==27285== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Address 0x83bf990 is 128 bytes inside a block of size 368 free'd
==27285== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27285== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27285== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27285== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27285== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27285== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27285== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27285== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27285== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27285== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Block was alloc'd at
==27285== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27285== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27285== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27285== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27285== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27285== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285==
{
<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_event_process_posted
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 ==27285== Invalid read of size 8
==27285== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==27285== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Address 0x83bf698 is 8 bytes inside a block of size 96 free'd
==27285== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27285== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27285== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27285== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27285== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27285== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27285== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27285== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27285== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27285== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Block was alloc'd at
==27285== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27285== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27285== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27285== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27285== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27285== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==27285== Invalid read of size 8
==27285== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==27285== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27285== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Address 0x83bf698 is 8 bytes inside a block of size 96 free'd
==27285== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27285== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27285== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27285== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27285== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27285== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27285== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27285== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27285== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27285== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Block was alloc'd at
==27285== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27285== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27285== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27285== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27285== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27285== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285==
{
<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_event_process_posted
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 ==27285== Invalid read of size 8
==27285== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27285== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27285== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Address 0x83bf510 is 0 bytes inside a block of size 80 free'd
==27285== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27285== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27285== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27285== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27285== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27285== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27285== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27285== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27285== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27285== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Block was alloc'd at
==27285== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27285== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27285== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27285== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27285== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285==
{
<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_event_process_posted
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 ==27285== Invalid read of size 8
==27285== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==27285== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27285== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27285== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Address 0x83bf520 is 16 bytes inside a block of size 80 free'd
==27285== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27285== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27285== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27285== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27285== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27285== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27285== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27285== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27285== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27285== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Block was alloc'd at
==27285== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27285== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27285== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27285== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27285== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==27285== Invalid read of size 8
==27285== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==27285== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27285== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27285== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Address 0x83bf510 is 0 bytes inside a block of size 80 free'd
==27285== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27285== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27285== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27285== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27285== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27285== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27285== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27285== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27285== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27285== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Block was alloc'd at
==27285== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27285== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27285== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27285== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27285== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==27285== Invalid read of size 8
==27285== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==27285== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27285== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27285== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Address 0x83bf510 is 0 bytes inside a block of size 80 free'd
==27285== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27285== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27285== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27285== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27285== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27285== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27285== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27285== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27285== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27285== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Block was alloc'd at
==27285== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27285== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27285== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27285== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27285== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==27285== Invalid read of size 8
==27285== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==27285== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27285== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27285== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Address 0x83bf540 is 48 bytes inside a block of size 80 free'd
==27285== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27285== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27285== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27285== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27285== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27285== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27285== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27285== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27285== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27285== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Block was alloc'd at
==27285== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27285== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27285== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27285== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27285== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==27285== Invalid read of size 8
==27285== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==27285== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27285== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27285== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Address 0x83bf528 is 24 bytes inside a block of size 80 free'd
==27285== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27285== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27285== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27285== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27285== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27285== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27285== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27285== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27285== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27285== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Block was alloc'd at
==27285== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27285== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27285== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27285== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27285== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==27285== Invalid read of size 8
==27285== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==27285== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27285== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27285== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Address 0x83bf518 is 8 bytes inside a block of size 80 free'd
==27285== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27285== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27285== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27285== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27285== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27285== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27285== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27285== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27285== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27285== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Block was alloc'd at
==27285== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27285== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27285== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27285== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27285== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==27285== Invalid read of size 8
==27285== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==27285== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27285== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27285== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Address 0x83bf518 is 8 bytes inside a block of size 80 free'd
==27285== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27285== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27285== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27285== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27285== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27285== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27285== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27285== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27285== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27285== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Block was alloc'd at
==27285== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27285== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27285== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27285== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27285== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 11: waiting on two simple user threads without I/O ==27285== Invalid read of size 8
==27285== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==27285== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27285== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27285== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Address 0x83bf558 is 72 bytes inside a block of size 80 free'd
==27285== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27285== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27285== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27285== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27285== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27285== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27285== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27285== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27285== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27285== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27285== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27285== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27285== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285== Block was alloc'd at
==27285== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27285== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27285== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27285== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27285== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27285== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27285== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27285== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27285== by 0x41B70E: main (nginx.c:364)
==27285==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==27329== Invalid read of size 8
==27329== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27329== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Address 0x83beaa0 is 32 bytes inside a block of size 96 free'd
==27329== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27329== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27329== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27329== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27329== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27329== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27329== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27329== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27329== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27329== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Block was alloc'd at
==27329== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27329== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27329== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27329== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27329== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27329== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==27329== Invalid read of size 8
==27329== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27329== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Address 0x83bec60 is 96 bytes inside a block of size 104 free'd
==27329== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27329== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27329== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27329== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27329== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27329== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27329== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27329== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27329== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27329== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Block was alloc'd at
==27329== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27329== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27329== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27329== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27329== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27329== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==27329== Invalid read of size 8
==27329== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==27329== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Address 0x83bed50 is 80 bytes inside a block of size 368 free'd
==27329== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27329== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27329== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27329== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27329== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27329== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27329== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27329== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27329== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27329== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Block was alloc'd at
==27329== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27329== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27329== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27329== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27329== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27329== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==27329== Invalid read of size 8
==27329== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==27329== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==27329== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Address 0x83bed80 is 128 bytes inside a block of size 368 free'd
==27329== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27329== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27329== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27329== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27329== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27329== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27329== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27329== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27329== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27329== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Block was alloc'd at
==27329== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27329== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27329== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27329== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27329== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27329== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329==
{
<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_event_process_posted
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 ==27329== Invalid read of size 8
==27329== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==27329== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Address 0x83bea88 is 8 bytes inside a block of size 96 free'd
==27329== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27329== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27329== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27329== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27329== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27329== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27329== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27329== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27329== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27329== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Block was alloc'd at
==27329== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27329== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27329== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27329== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27329== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27329== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==27329== Invalid read of size 8
==27329== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==27329== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27329== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Address 0x83bea88 is 8 bytes inside a block of size 96 free'd
==27329== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27329== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27329== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27329== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27329== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27329== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27329== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27329== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27329== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27329== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Block was alloc'd at
==27329== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27329== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27329== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27329== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27329== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27329== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329==
{
<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_event_process_posted
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 ==27329== Invalid read of size 8
==27329== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27329== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27329== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Address 0x83be900 is 0 bytes inside a block of size 80 free'd
==27329== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27329== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27329== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27329== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27329== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27329== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27329== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27329== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27329== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27329== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Block was alloc'd at
==27329== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27329== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27329== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27329== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27329== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329==
{
<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_event_process_posted
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 ==27329== Invalid read of size 8
==27329== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==27329== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27329== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27329== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Address 0x83be910 is 16 bytes inside a block of size 80 free'd
==27329== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27329== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27329== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27329== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27329== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27329== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27329== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27329== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27329== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27329== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Block was alloc'd at
==27329== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27329== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27329== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27329== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27329== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==27329== Invalid read of size 8
==27329== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==27329== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27329== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27329== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Address 0x83be900 is 0 bytes inside a block of size 80 free'd
==27329== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27329== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27329== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27329== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27329== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27329== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27329== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27329== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27329== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27329== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Block was alloc'd at
==27329== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27329== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27329== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27329== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27329== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==27329== Invalid read of size 8
==27329== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==27329== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27329== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27329== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Address 0x83be900 is 0 bytes inside a block of size 80 free'd
==27329== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27329== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27329== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27329== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27329== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27329== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27329== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27329== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27329== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27329== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Block was alloc'd at
==27329== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27329== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27329== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27329== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27329== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==27329== Invalid read of size 8
==27329== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==27329== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27329== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27329== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Address 0x83be930 is 48 bytes inside a block of size 80 free'd
==27329== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27329== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27329== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27329== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27329== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27329== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27329== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27329== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27329== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27329== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Block was alloc'd at
==27329== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27329== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27329== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27329== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27329== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==27329== Invalid read of size 8
==27329== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==27329== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27329== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27329== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Address 0x83be918 is 24 bytes inside a block of size 80 free'd
==27329== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27329== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27329== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27329== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27329== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27329== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27329== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27329== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27329== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27329== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Block was alloc'd at
==27329== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27329== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27329== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27329== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27329== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==27329== Invalid read of size 8
==27329== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==27329== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27329== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27329== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Address 0x83be908 is 8 bytes inside a block of size 80 free'd
==27329== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27329== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27329== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27329== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27329== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27329== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27329== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27329== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27329== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27329== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Block was alloc'd at
==27329== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27329== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27329== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27329== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27329== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==27329== Invalid read of size 8
==27329== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==27329== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27329== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27329== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Address 0x83be908 is 8 bytes inside a block of size 80 free'd
==27329== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27329== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27329== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27329== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27329== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27329== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27329== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27329== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27329== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27329== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Block was alloc'd at
==27329== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27329== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27329== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27329== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27329== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==27329== Invalid read of size 8
==27329== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==27329== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27329== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27329== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Address 0x83be948 is 72 bytes inside a block of size 80 free'd
==27329== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27329== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27329== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==27329== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==27329== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==27329== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==27329== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27329== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==27329== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==27329== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==27329== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==27329== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==27329== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329== Block was alloc'd at
==27329== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27329== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27329== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27329== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27329== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==27329== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==27329== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==27329== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27329== by 0x41B70E: main (nginx.c:364)
==27329==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
106-timer.t TEST 12: ngx.thread API ==27763== Invalid read of size 8
==27763== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27763== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Address 0x84292d0 is 32 bytes inside a block of size 96 free'd
==27763== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27763== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27763== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==27763== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==27763== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27763== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Block was alloc'd at
==27763== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27763== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27763== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27763== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27763== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27763== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==27763== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763==
{
<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 ==27763== Invalid read of size 8
==27763== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==27763== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Address 0x8429400 is 96 bytes inside a block of size 104 free'd
==27763== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27763== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27763== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==27763== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==27763== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27763== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Block was alloc'd at
==27763== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27763== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27763== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27763== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27763== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27763== by 0x4F751E: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085)
==27763== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763==
{
<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 ==27763== Invalid read of size 8
==27763== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==27763== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Address 0x84294f0 is 80 bytes inside a block of size 368 free'd
==27763== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27763== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27763== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==27763== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==27763== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27763== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Block was alloc'd at
==27763== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27763== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27763== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27763== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27763== by 0x5110DF: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27763== by 0x5110DF: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763==
{
<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 ==27763== Invalid read of size 8
==27763== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==27763== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==27763== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Address 0x8429520 is 128 bytes inside a block of size 368 free'd
==27763== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27763== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27763== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==27763== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==27763== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27763== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Block was alloc'd at
==27763== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27763== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27763== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27763== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27763== by 0x5110DF: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==27763== by 0x5110DF: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763==
{
<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 ==27763== Invalid read of size 8
==27763== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==27763== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Address 0x84292b8 is 8 bytes inside a block of size 96 free'd
==27763== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27763== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27763== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==27763== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==27763== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27763== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Block was alloc'd at
==27763== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27763== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27763== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27763== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27763== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27763== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==27763== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763==
{
<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 ==27763== Invalid read of size 8
==27763== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Address 0x84292b8 is 8 bytes inside a block of size 96 free'd
==27763== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27763== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27763== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==27763== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==27763== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27763== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Block was alloc'd at
==27763== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27763== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27763== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27763== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27763== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27763== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==27763== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763==
{
<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 ==27763== Invalid read of size 8
==27763== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Address 0x84291d0 is 0 bytes inside a block of size 80 free'd
==27763== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27763== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27763== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==27763== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==27763== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27763== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Block was alloc'd at
==27763== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27763== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27763== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27763== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27763== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27763== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==27763== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763==
{
<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 ==27763== Invalid read of size 8
==27763== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==27763== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Address 0x84291e0 is 16 bytes inside a block of size 80 free'd
==27763== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27763== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27763== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==27763== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==27763== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27763== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Block was alloc'd at
==27763== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27763== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27763== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27763== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27763== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27763== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==27763== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763==
{
<insert_a_suppression_name_here>
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 ==27763== Invalid read of size 8
==27763== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==27763== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Address 0x84291d0 is 0 bytes inside a block of size 80 free'd
==27763== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27763== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27763== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==27763== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==27763== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27763== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Block was alloc'd at
==27763== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27763== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27763== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27763== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27763== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27763== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==27763== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763==
{
<insert_a_suppression_name_here>
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 ==27763== Invalid read of size 8
==27763== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==27763== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Address 0x84291d0 is 0 bytes inside a block of size 80 free'd
==27763== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27763== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27763== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==27763== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==27763== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27763== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Block was alloc'd at
==27763== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27763== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27763== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27763== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27763== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27763== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==27763== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763==
{
<insert_a_suppression_name_here>
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 ==27763== Invalid read of size 8
==27763== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==27763== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Address 0x8429200 is 48 bytes inside a block of size 80 free'd
==27763== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27763== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27763== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==27763== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==27763== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27763== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Block was alloc'd at
==27763== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27763== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27763== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27763== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27763== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27763== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==27763== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763==
{
<insert_a_suppression_name_here>
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 ==27763== Invalid read of size 8
==27763== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==27763== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Address 0x84291e8 is 24 bytes inside a block of size 80 free'd
==27763== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27763== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27763== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==27763== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==27763== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27763== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Block was alloc'd at
==27763== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27763== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27763== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27763== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27763== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27763== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==27763== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763==
{
<insert_a_suppression_name_here>
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 ==27763== Invalid read of size 8
==27763== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==27763== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Address 0x84291d8 is 8 bytes inside a block of size 80 free'd
==27763== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27763== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27763== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==27763== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==27763== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27763== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Block was alloc'd at
==27763== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27763== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27763== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27763== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27763== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27763== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==27763== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763==
{
<insert_a_suppression_name_here>
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 ==27763== Invalid read of size 8
==27763== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==27763== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Address 0x84291d8 is 8 bytes inside a block of size 80 free'd
==27763== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27763== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27763== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==27763== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==27763== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27763== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Block was alloc'd at
==27763== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27763== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27763== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27763== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27763== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27763== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==27763== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763==
{
<insert_a_suppression_name_here>
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 ==27763== Invalid read of size 8
==27763== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==27763== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Address 0x8429218 is 72 bytes inside a block of size 80 free'd
==27763== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==27763== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==27763== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==27763== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==27763== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==27763== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==27763== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==27763== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763== Block was alloc'd at
==27763== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==27763== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==27763== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==27763== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==27763== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==27763== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==27763== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==27763== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==27763== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==27763== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==27763== by 0x41B70E: main (nginx.c:364)
==27763==
{
<insert_a_suppression_name_here>
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 ==28061== Invalid read of size 8
==28061== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==28061== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Address 0x8429330 is 32 bytes inside a block of size 96 free'd
==28061== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==28061== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==28061== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==28061== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==28061== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==28061== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Block was alloc'd at
==28061== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==28061== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==28061== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==28061== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==28061== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==28061== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==28061== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061==
{
<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 ==28061== Invalid read of size 8
==28061== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==28061== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Address 0x8429460 is 96 bytes inside a block of size 104 free'd
==28061== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==28061== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==28061== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==28061== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==28061== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==28061== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Block was alloc'd at
==28061== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==28061== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==28061== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==28061== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==28061== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==28061== by 0x4F751E: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3085)
==28061== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061==
{
<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 ==28061== Invalid read of size 8
==28061== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==28061== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Address 0x8429550 is 80 bytes inside a block of size 368 free'd
==28061== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==28061== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==28061== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==28061== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==28061== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==28061== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Block was alloc'd at
==28061== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==28061== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==28061== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==28061== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==28061== by 0x5110DF: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==28061== by 0x5110DF: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061==
{
<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 ==28061== Invalid read of size 8
==28061== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==28061== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==28061== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Address 0x8429580 is 128 bytes inside a block of size 368 free'd
==28061== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==28061== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==28061== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==28061== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==28061== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==28061== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Block was alloc'd at
==28061== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==28061== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==28061== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==28061== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==28061== by 0x5110DF: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==28061== by 0x5110DF: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:425)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061==
{
<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 ==28061== Invalid read of size 8
==28061== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==28061== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Address 0x8429318 is 8 bytes inside a block of size 96 free'd
==28061== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==28061== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==28061== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==28061== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==28061== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==28061== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Block was alloc'd at
==28061== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==28061== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==28061== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==28061== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==28061== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==28061== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==28061== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061==
{
<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 ==28061== Invalid read of size 8
==28061== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Address 0x8429318 is 8 bytes inside a block of size 96 free'd
==28061== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==28061== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==28061== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==28061== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==28061== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==28061== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Block was alloc'd at
==28061== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==28061== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==28061== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==28061== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==28061== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==28061== by 0x4F7502: ngx_stream_lua_create_fake_session (ngx_stream_lua_util.c:3080)
==28061== by 0x51103C: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:391)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061==
{
<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 ==28061== Invalid read of size 8
==28061== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Address 0x8429230 is 0 bytes inside a block of size 80 free'd
==28061== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==28061== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==28061== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==28061== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==28061== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==28061== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Block was alloc'd at
==28061== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==28061== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==28061== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==28061== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==28061== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==28061== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==28061== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061==
{
<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 ==28061== Invalid read of size 8
==28061== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==28061== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Address 0x8429240 is 16 bytes inside a block of size 80 free'd
==28061== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==28061== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==28061== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==28061== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==28061== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==28061== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Block was alloc'd at
==28061== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==28061== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==28061== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==28061== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==28061== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==28061== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==28061== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061==
{
<insert_a_suppression_name_here>
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 ==28061== Invalid read of size 8
==28061== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==28061== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Address 0x8429230 is 0 bytes inside a block of size 80 free'd
==28061== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==28061== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==28061== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==28061== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==28061== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==28061== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Block was alloc'd at
==28061== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==28061== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==28061== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==28061== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==28061== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==28061== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==28061== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061==
{
<insert_a_suppression_name_here>
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 ==28061== Invalid read of size 8
==28061== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==28061== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Address 0x8429230 is 0 bytes inside a block of size 80 free'd
==28061== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==28061== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==28061== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==28061== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==28061== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==28061== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Block was alloc'd at
==28061== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==28061== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==28061== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==28061== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==28061== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==28061== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==28061== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061==
{
<insert_a_suppression_name_here>
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 ==28061== Invalid read of size 8
==28061== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==28061== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Address 0x8429260 is 48 bytes inside a block of size 80 free'd
==28061== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==28061== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==28061== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==28061== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==28061== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==28061== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Block was alloc'd at
==28061== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==28061== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==28061== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==28061== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==28061== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==28061== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==28061== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061==
{
<insert_a_suppression_name_here>
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 ==28061== Invalid read of size 8
==28061== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==28061== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Address 0x8429248 is 24 bytes inside a block of size 80 free'd
==28061== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==28061== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==28061== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==28061== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==28061== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==28061== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Block was alloc'd at
==28061== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==28061== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==28061== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==28061== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==28061== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==28061== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==28061== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061==
{
<insert_a_suppression_name_here>
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 ==28061== Invalid read of size 8
==28061== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==28061== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Address 0x8429238 is 8 bytes inside a block of size 80 free'd
==28061== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==28061== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==28061== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==28061== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==28061== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==28061== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Block was alloc'd at
==28061== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==28061== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==28061== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==28061== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==28061== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==28061== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==28061== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061==
{
<insert_a_suppression_name_here>
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 ==28061== Invalid read of size 8
==28061== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==28061== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Address 0x8429238 is 8 bytes inside a block of size 80 free'd
==28061== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==28061== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==28061== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==28061== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==28061== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==28061== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Block was alloc'd at
==28061== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==28061== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==28061== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==28061== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==28061== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==28061== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==28061== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061==
{
<insert_a_suppression_name_here>
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 ==28061== Invalid read of size 8
==28061== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==28061== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x5113D7: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:496)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Address 0x8429278 is 72 bytes inside a block of size 80 free'd
==28061== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==28061== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==28061== by 0x4F5B76: ngx_stream_lua_close_fake_connection (ngx_stream_lua_util.c:2029)
==28061== by 0x4F5B8D: ngx_stream_lua_close_fake_session (ngx_stream_lua_util.c:1941)
==28061== by 0x4F5CD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1929)
==28061== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==28061== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==28061== by 0x5113CC: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:490)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061== Block was alloc'd at
==28061== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==28061== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==28061== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==28061== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==28061== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==28061== by 0x4F7495: ngx_stream_lua_create_fake_connection (ngx_stream_lua_util.c:3040)
==28061== by 0x510FFB: ngx_stream_lua_timer_handler (ngx_stream_lua_timer.c:380)
==28061== by 0x43A7BA: ngx_event_expire_timers (ngx_event_timer.c:97)
==28061== by 0x43A3CA: ngx_process_events_and_timers (ngx_event.c:256)
==28061== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==28061== by 0x41B70E: main (nginx.c:364)
==28061==
{
<insert_a_suppression_name_here>
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 6: kill self ==29353== Invalid read of size 8
==29353== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29353== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Address 0x83bed40 is 32 bytes inside a block of size 96 free'd
==29353== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29353== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29353== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29353== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29353== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29353== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29353== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29353== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29353== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29353== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Block was alloc'd at
==29353== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29353== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29353== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29353== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29353== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==29353== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==29353== Invalid read of size 8
==29353== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29353== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Address 0x83bef00 is 96 bytes inside a block of size 104 free'd
==29353== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29353== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29353== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29353== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29353== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29353== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29353== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29353== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29353== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29353== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Block was alloc'd at
==29353== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29353== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29353== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29353== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29353== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==29353== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==29353== Invalid read of size 8
==29353== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29353== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Address 0x83beff0 is 80 bytes inside a block of size 368 free'd
==29353== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29353== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29353== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29353== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29353== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29353== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29353== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29353== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29353== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29353== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Block was alloc'd at
==29353== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29353== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29353== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29353== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29353== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29353== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==29353== Invalid read of size 8
==29353== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29353== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29353== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Address 0x83bf020 is 128 bytes inside a block of size 368 free'd
==29353== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29353== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29353== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29353== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29353== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29353== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29353== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29353== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29353== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29353== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Block was alloc'd at
==29353== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29353== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29353== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29353== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29353== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29353== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==29353== Invalid read of size 8
==29353== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29353== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Address 0x83bed28 is 8 bytes inside a block of size 96 free'd
==29353== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29353== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29353== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29353== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29353== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29353== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29353== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29353== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29353== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29353== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Block was alloc'd at
==29353== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29353== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29353== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29353== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29353== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==29353== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==29353== Invalid read of size 8
==29353== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29353== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29353== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Address 0x83bed28 is 8 bytes inside a block of size 96 free'd
==29353== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29353== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29353== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29353== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29353== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29353== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29353== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29353== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29353== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29353== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Block was alloc'd at
==29353== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29353== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29353== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29353== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29353== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==29353== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==29353== Invalid read of size 8
==29353== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29353== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29353== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Address 0x83beba0 is 0 bytes inside a block of size 80 free'd
==29353== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29353== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29353== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29353== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29353== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29353== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29353== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29353== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29353== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29353== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Block was alloc'd at
==29353== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29353== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29353== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29353== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29353== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==29353== Invalid read of size 8
==29353== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==29353== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29353== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29353== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Address 0x83bebb0 is 16 bytes inside a block of size 80 free'd
==29353== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29353== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29353== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29353== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29353== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29353== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29353== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29353== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29353== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29353== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Block was alloc'd at
==29353== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29353== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29353== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29353== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29353== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==29353== Invalid read of size 8
==29353== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==29353== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29353== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29353== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Address 0x83beba0 is 0 bytes inside a block of size 80 free'd
==29353== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29353== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29353== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29353== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29353== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29353== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29353== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29353== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29353== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29353== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Block was alloc'd at
==29353== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29353== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29353== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29353== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29353== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==29353== Invalid read of size 8
==29353== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==29353== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29353== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29353== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Address 0x83beba0 is 0 bytes inside a block of size 80 free'd
==29353== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29353== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29353== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29353== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29353== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29353== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29353== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29353== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29353== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29353== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Block was alloc'd at
==29353== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29353== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29353== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29353== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29353== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==29353== Invalid read of size 8
==29353== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==29353== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29353== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29353== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Address 0x83bebd0 is 48 bytes inside a block of size 80 free'd
==29353== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29353== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29353== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29353== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29353== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29353== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29353== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29353== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29353== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29353== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Block was alloc'd at
==29353== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29353== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29353== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29353== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29353== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==29353== Invalid read of size 8
==29353== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==29353== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29353== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29353== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Address 0x83bebb8 is 24 bytes inside a block of size 80 free'd
==29353== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29353== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29353== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29353== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29353== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29353== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29353== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29353== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29353== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29353== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Block was alloc'd at
==29353== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29353== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29353== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29353== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29353== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==29353== Invalid read of size 8
==29353== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==29353== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29353== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29353== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Address 0x83beba8 is 8 bytes inside a block of size 80 free'd
==29353== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29353== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29353== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29353== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29353== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29353== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29353== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29353== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29353== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29353== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Block was alloc'd at
==29353== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29353== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29353== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29353== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29353== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==29353== Invalid read of size 8
==29353== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==29353== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29353== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29353== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Address 0x83beba8 is 8 bytes inside a block of size 80 free'd
==29353== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29353== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29353== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29353== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29353== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29353== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29353== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29353== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29353== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29353== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Block was alloc'd at
==29353== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29353== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29353== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29353== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29353== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 6: kill self ==29353== Invalid read of size 8
==29353== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==29353== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29353== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29353== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Address 0x83bebe8 is 72 bytes inside a block of size 80 free'd
==29353== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29353== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29353== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29353== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29353== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29353== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29353== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29353== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29353== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29353== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29353== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29353== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29353== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353== Block was alloc'd at
==29353== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29353== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29353== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29353== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29353== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29353== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29353== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29353== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29353== by 0x41B70E: main (nginx.c:364)
==29353==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==29364== Invalid read of size 8
==29364== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29364== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Address 0x83bed00 is 32 bytes inside a block of size 96 free'd
==29364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29364== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29364== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29364== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29364== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29364== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29364== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29364== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Block was alloc'd at
==29364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29364== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==29364== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==29364== Invalid read of size 8
==29364== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29364== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Address 0x83beec0 is 96 bytes inside a block of size 104 free'd
==29364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29364== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29364== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29364== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29364== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29364== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29364== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29364== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Block was alloc'd at
==29364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29364== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==29364== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==29364== Invalid read of size 8
==29364== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29364== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Address 0x83befb0 is 80 bytes inside a block of size 368 free'd
==29364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29364== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29364== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29364== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29364== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29364== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29364== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29364== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Block was alloc'd at
==29364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29364== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29364== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==29364== Invalid read of size 8
==29364== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29364== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29364== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Address 0x83befe0 is 128 bytes inside a block of size 368 free'd
==29364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29364== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29364== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29364== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29364== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29364== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29364== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29364== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Block was alloc'd at
==29364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29364== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29364== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==29364== Invalid read of size 8
==29364== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29364== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Address 0x83bece8 is 8 bytes inside a block of size 96 free'd
==29364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29364== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29364== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29364== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29364== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29364== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29364== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29364== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Block was alloc'd at
==29364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29364== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==29364== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==29364== Invalid read of size 8
==29364== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29364== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29364== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Address 0x83bece8 is 8 bytes inside a block of size 96 free'd
==29364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29364== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29364== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29364== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29364== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29364== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29364== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29364== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Block was alloc'd at
==29364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29364== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==29364== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==29364== Invalid read of size 8
==29364== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29364== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29364== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Address 0x83beb60 is 0 bytes inside a block of size 80 free'd
==29364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29364== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29364== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29364== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29364== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29364== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29364== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29364== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Block was alloc'd at
==29364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==29364== Invalid read of size 8
==29364== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==29364== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29364== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29364== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Address 0x83beb70 is 16 bytes inside a block of size 80 free'd
==29364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29364== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29364== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29364== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29364== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29364== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29364== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29364== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Block was alloc'd at
==29364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==29364== Invalid read of size 8
==29364== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==29364== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29364== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29364== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Address 0x83beb60 is 0 bytes inside a block of size 80 free'd
==29364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29364== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29364== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29364== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29364== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29364== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29364== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29364== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Block was alloc'd at
==29364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==29364== Invalid read of size 8
==29364== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==29364== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29364== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29364== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Address 0x83beb60 is 0 bytes inside a block of size 80 free'd
==29364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29364== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29364== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29364== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29364== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29364== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29364== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29364== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Block was alloc'd at
==29364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==29364== Invalid read of size 8
==29364== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==29364== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29364== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29364== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Address 0x83beb90 is 48 bytes inside a block of size 80 free'd
==29364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29364== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29364== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29364== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29364== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29364== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29364== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29364== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Block was alloc'd at
==29364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==29364== Invalid read of size 8
==29364== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==29364== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29364== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29364== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Address 0x83beb78 is 24 bytes inside a block of size 80 free'd
==29364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29364== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29364== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29364== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29364== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29364== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29364== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29364== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Block was alloc'd at
==29364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==29364== Invalid read of size 8
==29364== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==29364== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29364== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29364== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Address 0x83beb68 is 8 bytes inside a block of size 80 free'd
==29364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29364== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29364== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29364== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29364== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29364== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29364== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29364== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Block was alloc'd at
==29364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==29364== Invalid read of size 8
==29364== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==29364== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29364== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29364== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Address 0x83beb68 is 8 bytes inside a block of size 80 free'd
==29364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29364== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29364== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29364== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29364== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29364== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29364== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29364== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Block was alloc'd at
==29364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 1: kill pending sleep ==29364== Invalid read of size 8
==29364== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==29364== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29364== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29364== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Address 0x83beba8 is 72 bytes inside a block of size 80 free'd
==29364== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29364== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29364== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29364== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29364== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29364== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29364== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29364== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29364== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29364== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29364== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29364== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29364== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364== Block was alloc'd at
==29364== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29364== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29364== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29364== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29364== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29364== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29364== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29364== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29364== by 0x41B70E: main (nginx.c:364)
==29364==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==29375== Invalid read of size 8
==29375== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29375== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Address 0x83d27b0 is 32 bytes inside a block of size 96 free'd
==29375== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29375== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29375== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29375== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29375== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29375== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29375== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29375== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29375== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29375== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Block was alloc'd at
==29375== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29375== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29375== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29375== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29375== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==29375== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==29375== Invalid read of size 8
==29375== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29375== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Address 0x83d2970 is 96 bytes inside a block of size 104 free'd
==29375== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29375== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29375== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29375== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29375== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29375== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29375== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29375== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29375== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29375== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Block was alloc'd at
==29375== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29375== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29375== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29375== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29375== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==29375== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==29375== Invalid read of size 8
==29375== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29375== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Address 0x83d2a60 is 80 bytes inside a block of size 368 free'd
==29375== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29375== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29375== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29375== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29375== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29375== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29375== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29375== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29375== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29375== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Block was alloc'd at
==29375== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29375== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29375== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29375== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29375== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29375== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==29375== Invalid read of size 8
==29375== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29375== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29375== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Address 0x83d2a90 is 128 bytes inside a block of size 368 free'd
==29375== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29375== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29375== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29375== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29375== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29375== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29375== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29375== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29375== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29375== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Block was alloc'd at
==29375== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29375== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29375== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29375== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29375== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29375== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==29375== Invalid read of size 8
==29375== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29375== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Address 0x83d2798 is 8 bytes inside a block of size 96 free'd
==29375== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29375== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29375== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29375== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29375== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29375== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29375== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29375== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29375== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29375== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Block was alloc'd at
==29375== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29375== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29375== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29375== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29375== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==29375== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==29375== Invalid read of size 8
==29375== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29375== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29375== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Address 0x83d2798 is 8 bytes inside a block of size 96 free'd
==29375== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29375== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29375== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29375== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29375== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29375== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29375== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29375== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29375== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29375== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Block was alloc'd at
==29375== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29375== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29375== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29375== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29375== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==29375== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==29375== Invalid read of size 8
==29375== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29375== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29375== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Address 0x83d2610 is 0 bytes inside a block of size 80 free'd
==29375== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29375== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29375== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29375== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29375== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29375== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29375== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29375== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29375== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29375== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Block was alloc'd at
==29375== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29375== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29375== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29375== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29375== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==29375== Invalid read of size 8
==29375== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==29375== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29375== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29375== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Address 0x83d2620 is 16 bytes inside a block of size 80 free'd
==29375== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29375== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29375== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29375== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29375== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29375== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29375== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29375== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29375== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29375== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Block was alloc'd at
==29375== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29375== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29375== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29375== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29375== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==29375== Invalid read of size 8
==29375== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==29375== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29375== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29375== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Address 0x83d2610 is 0 bytes inside a block of size 80 free'd
==29375== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29375== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29375== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29375== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29375== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29375== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29375== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29375== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29375== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29375== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Block was alloc'd at
==29375== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29375== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29375== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29375== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29375== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==29375== Invalid read of size 8
==29375== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==29375== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29375== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29375== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Address 0x83d2610 is 0 bytes inside a block of size 80 free'd
==29375== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29375== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29375== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29375== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29375== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29375== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29375== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29375== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29375== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29375== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Block was alloc'd at
==29375== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29375== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29375== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29375== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29375== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==29375== Invalid read of size 8
==29375== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==29375== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29375== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29375== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Address 0x83d2640 is 48 bytes inside a block of size 80 free'd
==29375== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29375== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29375== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29375== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29375== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29375== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29375== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29375== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29375== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29375== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Block was alloc'd at
==29375== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29375== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29375== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29375== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29375== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==29375== Invalid read of size 8
==29375== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==29375== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29375== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29375== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Address 0x83d2628 is 24 bytes inside a block of size 80 free'd
==29375== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29375== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29375== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29375== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29375== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29375== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29375== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29375== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29375== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29375== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Block was alloc'd at
==29375== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29375== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29375== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29375== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29375== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==29375== Invalid read of size 8
==29375== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==29375== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29375== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29375== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Address 0x83d2618 is 8 bytes inside a block of size 80 free'd
==29375== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29375== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29375== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29375== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29375== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29375== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29375== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29375== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29375== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29375== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Block was alloc'd at
==29375== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29375== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29375== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29375== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29375== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==29375== Invalid read of size 8
==29375== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==29375== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29375== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29375== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Address 0x83d2618 is 8 bytes inside a block of size 80 free'd
==29375== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29375== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29375== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29375== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29375== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29375== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29375== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29375== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29375== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29375== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Block was alloc'd at
==29375== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29375== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29375== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29375== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29375== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 3: kill pending resolver ==29375== Invalid read of size 8
==29375== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==29375== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29375== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29375== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Address 0x83d2658 is 72 bytes inside a block of size 80 free'd
==29375== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29375== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29375== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29375== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29375== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29375== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29375== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29375== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29375== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29375== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29375== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29375== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29375== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375== Block was alloc'd at
==29375== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29375== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29375== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29375== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29375== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29375== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29375== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29375== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29375== by 0x41B70E: main (nginx.c:364)
==29375==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==29386== Invalid read of size 8
==29386== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29386== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Address 0x83be990 is 32 bytes inside a block of size 96 free'd
==29386== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29386== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29386== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29386== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29386== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29386== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29386== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29386== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29386== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29386== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Block was alloc'd at
==29386== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29386== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29386== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29386== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29386== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==29386== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==29386== Invalid read of size 8
==29386== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==29386== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Address 0x83beb50 is 96 bytes inside a block of size 104 free'd
==29386== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29386== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29386== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29386== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29386== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29386== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29386== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29386== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29386== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29386== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Block was alloc'd at
==29386== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29386== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29386== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29386== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29386== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==29386== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==29386== Invalid read of size 8
==29386== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==29386== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Address 0x83bec40 is 80 bytes inside a block of size 368 free'd
==29386== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29386== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29386== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29386== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29386== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29386== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29386== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29386== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29386== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29386== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Block was alloc'd at
==29386== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29386== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29386== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29386== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29386== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29386== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==29386== Invalid read of size 8
==29386== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==29386== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==29386== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Address 0x83bec70 is 128 bytes inside a block of size 368 free'd
==29386== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29386== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29386== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29386== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29386== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29386== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29386== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29386== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29386== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29386== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Block was alloc'd at
==29386== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29386== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29386== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29386== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29386== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==29386== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==29386== Invalid read of size 8
==29386== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==29386== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Address 0x83be978 is 8 bytes inside a block of size 96 free'd
==29386== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29386== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29386== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29386== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29386== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29386== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29386== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29386== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29386== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29386== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Block was alloc'd at
==29386== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29386== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29386== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29386== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29386== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==29386== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==29386== Invalid read of size 8
==29386== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==29386== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29386== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Address 0x83be978 is 8 bytes inside a block of size 96 free'd
==29386== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29386== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29386== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29386== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29386== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29386== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29386== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29386== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29386== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29386== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Block was alloc'd at
==29386== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29386== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29386== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29386== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29386== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==29386== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==29386== Invalid read of size 8
==29386== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29386== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29386== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Address 0x83be7f0 is 0 bytes inside a block of size 80 free'd
==29386== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29386== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29386== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29386== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29386== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29386== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29386== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29386== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29386== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29386== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Block was alloc'd at
==29386== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29386== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29386== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29386== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29386== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386==
{
<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_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==29386== Invalid read of size 8
==29386== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==29386== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29386== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29386== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Address 0x83be800 is 16 bytes inside a block of size 80 free'd
==29386== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29386== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29386== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29386== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29386== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29386== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29386== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29386== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29386== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29386== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Block was alloc'd at
==29386== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29386== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29386== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29386== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29386== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==29386== Invalid read of size 8
==29386== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==29386== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29386== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29386== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Address 0x83be7f0 is 0 bytes inside a block of size 80 free'd
==29386== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29386== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29386== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29386== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29386== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29386== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29386== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29386== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29386== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29386== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Block was alloc'd at
==29386== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29386== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29386== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29386== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29386== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==29386== Invalid read of size 8
==29386== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==29386== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29386== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29386== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Address 0x83be7f0 is 0 bytes inside a block of size 80 free'd
==29386== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29386== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29386== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29386== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29386== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29386== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29386== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29386== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29386== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29386== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Block was alloc'd at
==29386== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29386== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29386== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29386== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29386== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==29386== Invalid read of size 8
==29386== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==29386== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29386== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29386== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Address 0x83be820 is 48 bytes inside a block of size 80 free'd
==29386== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29386== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29386== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29386== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29386== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29386== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29386== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29386== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29386== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29386== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Block was alloc'd at
==29386== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29386== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29386== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29386== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29386== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==29386== Invalid read of size 8
==29386== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==29386== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29386== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29386== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Address 0x83be808 is 24 bytes inside a block of size 80 free'd
==29386== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29386== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29386== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29386== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29386== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29386== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29386== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29386== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29386== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29386== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Block was alloc'd at
==29386== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29386== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29386== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29386== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29386== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==29386== Invalid read of size 8
==29386== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==29386== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29386== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29386== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Address 0x83be7f8 is 8 bytes inside a block of size 80 free'd
==29386== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29386== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29386== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29386== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29386== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29386== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29386== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29386== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29386== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29386== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Block was alloc'd at
==29386== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29386== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29386== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29386== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29386== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==29386== Invalid read of size 8
==29386== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==29386== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29386== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29386== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Address 0x83be7f8 is 8 bytes inside a block of size 80 free'd
==29386== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29386== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29386== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29386== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29386== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29386== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29386== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29386== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29386== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29386== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Block was alloc'd at
==29386== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29386== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29386== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29386== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29386== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
127-uthread-kill.t TEST 5: kill a thread already terminated ==29386== Invalid read of size 8
==29386== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==29386== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==29386== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==29386== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Address 0x83be838 is 72 bytes inside a block of size 80 free'd
==29386== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==29386== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==29386== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==29386== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==29386== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==29386== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==29386== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==29386== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==29386== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==29386== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==29386== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==29386== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==29386== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386== Block was alloc'd at
==29386== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==29386== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==29386== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==29386== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==29386== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==29386== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==29386== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==29386== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==29386== by 0x41B70E: main (nginx.c:364)
==29386==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}

Expected Failures

File Name Details
058-tcp-socket.t TEST 34: successful reread after a read time out happen (receive -> receive) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,8 @@
failed to receive: timeout, partial: 2
hi
+5
+world
+0
+

-received: 5
+failed to receive: timeout
-received: world
'
Looks like you failed 1 test of 358.
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
read: O
-failed to set keepalive: unread data in buffer
'
071-idle-socket.t TEST 6: set keepalive when cosocket recv buffer has unread data - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,3 @@
connected: 1
request sent: 11
read: O
-failed to set keepalive: unread data in buffer
'
106-timer.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer, client: \d+\.\d+\.\d+\.\d+, server: 0\.0\.0\.0:\d+)" should match a line in error.log (req 0)
106-timer.t TEST 4: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 27: user args - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6])\d*, context: ngx\.timer)" should match a line in error.log (req 0)
106-timer.t TEST 3: lua variable sharing via upvalue - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
106-timer.t TEST 2: separated global env - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 1: simple at - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:4[4-9]|5[0-6]))" should match a line in error.log (req 0)
108-timer-safe.t TEST 2: simple at (sleep in the timer callback) - pattern "(?^:\[lua\] content_by_lua_block\(nginx\.conf:\d+\):\d+: elapsed: 0\.0(?:6[4-9]|7[0-6]))" should match a line in error.log (req 0)
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 0) got: 'stream lua found 8187 pending timers
'
expected: 'stream lua found 8191 pending timers
'
109-timer-hup.t TEST 7: HUP reload should abort pending timers (fuzz test) - grep_error_log_out (req 1) got: 'stream lua found 8190 pending timers
'
expected: 'stream lua found 8191 pending timers
'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:01:58 [error] 29514\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 8: iscribblet.org: passing SSL verify - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:01:58 [error] 29514\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 6: certificate does not match host name (verify, no log socket errors) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:03 [error] 29536\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 21: unix domain ssl cosocket (no verify) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:04 [error] 29536\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:06 [error] 29548\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 13: iscribblet.org: passing SSL verify with multiple certificates - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:06 [error] 29548\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 24: lua_ssl_crl - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 12: CRL has expired
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 24: lua_ssl_crl - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:08 [error] 29560\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 24: lua_ssl_crl - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 12: CRL has expired
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 24: lua_ssl_crl - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:09 [error] 29560\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 0, req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 4: ssl session reuse - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl set session: \1:2
lua ssl save session: \1:3
lua ssl free session: \1:2
lua ssl free session: \1:1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:11 [error] 29571\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 4: ssl session reuse - response_body - response is expected (repeated req 1, req 0) @@ -1,10 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
-connected: 1
-ssl handshake: userdata
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 4: ssl session reuse - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl set session: \1:2
lua ssl save session: \1:3
lua ssl free session: \1:2
lua ssl free session: \1:1
$)'
129-ssl-socket.t TEST 4: ssl session reuse - pattern "SSL reused session" should match a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "lua ssl free session" should match a line in error.log (req 1)
129-ssl-socket.t TEST 4: ssl session reuse - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:11 [error] 29571\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 25: multiple handshake calls - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-ssl handshake: userdata
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 25: multiple handshake calls - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl save session: ([0-9A-F]+):3
lua ssl free session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 25: multiple handshake calls - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:14 [error] 29582\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 25: multiple handshake calls - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-ssl handshake: userdata
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 25: multiple handshake calls - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl save session: ([0-9A-F]+):3
lua ssl free session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 25: multiple handshake calls - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:14 [error] 29582\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:16 [error] 29593\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 30: unix domain ssl cosocket (verify cert but no host name check, passed) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:16 [error] 29593\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 0) ''
doesn't match '(?^:^stream lua ssl save session: ([0-9A-F]+):2
stream lua ssl save session: \1:3
stream lua ssl save session: \1:4
stream lua ssl free session: \1:4
stream lua ssl free session: \1:3
stream lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:19 [error] 29604\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - response_body - response is expected (repeated req 1, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - grep_error_log_out (req 1) ''
doesn't match '(?^:^stream lua ssl save session: ([0-9A-F]+):2
stream lua ssl save session: \1:3
stream lua ssl save session: \1:4
stream lua ssl free session: \1:4
stream lua ssl free session: \1:3
stream lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
129-ssl-socket.t TEST 19: iscribblet.org: passing SSL verify: keepalive (no reusing the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:19 [error] 29604\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 0, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 0)
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:21 [error] 29615\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - response_body - response is expected (repeated req 1, req 0) @@ -1,9 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
-connected: 1
-ssl handshake: userdata
-set keepalive: 1 nil
'
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: \1:2
$)'
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "lua tcp socket get keepalive peer: using connection" should match a line in error.log (req 1)
129-ssl-socket.t TEST 18: iscribblet.org: passing SSL verify: keepalive (reuse the ssl session) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:22 [error] 29615\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 3: SNI, no verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 3: SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:24 [error] 29626\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 3: SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 3: SNI, no verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 3: SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:24 [error] 29626\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?unknown protocol)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 23: unix domain ssl cosocket (no ssl on server) - pattern "(?^:SSL_do_handshake\(\) failed .*?unknown protocol)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "SSL: TLSv1, cipher: "ECDHE-RSA-RC4-SHA SSLv3" should match a line in error.log (req 0)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:29 [error] 29648\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "SSL: TLSv1, cipher: "ECDHE-RSA-RC4-SHA SSLv3" should match a line in error.log (req 1)
129-ssl-socket.t TEST 16: explicit ssl protocol configuration - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:29 [error] 29648\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:32 [error] 29659\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,6 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 9 bytes.
-received: flash!
-received: the end...
-close: 1 nil
'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 22: unix domain ssl cosocket (verify) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:32 [error] 29659\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:34 [error] 29670\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 7: certificate does not match host name (no verify) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:35 [error] 29670\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 10: ssl verify depth not enough (without automatic error logging) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "(?^:\[crit\] .*?SSL_do_handshake\(\) failed .*?unsupported protocol)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:39 [error] 29694\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "(?^:\[crit\] .*?SSL_do_handshake\(\) failed .*?unsupported protocol)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 17: unsupported ssl protocol - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:40 [error] 29694\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:42 [error] 29705\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 28: unix domain ssl cosocket (gen session, true) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:42 [error] 29705\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent stream request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 1: www.google.com - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:45 [error] 29716\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 1: www.google.com - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent stream request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 1: www.google.com - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 1: www.google.com - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:45 [error] 29716\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 12: www.google.com (SSL verify enabled and no corresponding trusted certificates) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 14: default cipher - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 14: default cipher - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 14: default cipher - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-RC4-SHA SSLv3" should match a line in error.log (req 0)
129-ssl-socket.t TEST 14: default cipher - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:50 [error] 29738\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 14: default cipher - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 14: default cipher - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 14: default cipher - pattern "SSL: TLSv1.2, cipher: "ECDHE-RSA-RC4-SHA SSLv3" should match a line in error.log (req 1)
129-ssl-socket.t TEST 14: default cipher - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:50 [error] 29738\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: 20: unable to get local issuer certificate
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 9: ssl verify depth not enough (with automatic error logging) - pattern "lua ssl certificate verify error: (20: unable to get local issuer certificate)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent stream request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:55 [error] 29762\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - response_body_like - response is expected (connected: 1 failed to do SSL handshake: handshake failed) 'connected: 1
failed to do SSL handshake: handshake failed
'
doesn't match '(?^s:\Aconnected: 1
ssl handshake: userdata
sent stream request: 59 bytes.
received: HTTP/1.1 (?:200 OK|302 Found)
close: 1 nil
\z)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 11: www.google.com (SSL verify passes) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:55 [error] 29762\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 15: explicit cipher configuration - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 15: explicit cipher configuration - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "SSL: TLSv1.2, cipher: "RC4-SHA SSLv3" should match a line in error.log (req 0)
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:57 [error] 29773\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 15: explicit cipher configuration - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 59 bytes.
-received: HTTP/1.1 200 OK
-close: 1 nil
'
129-ssl-socket.t TEST 15: explicit cipher configuration - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "SSL: TLSv1.2, cipher: "RC4-SHA SSLv3" should match a line in error.log (req 1)
129-ssl-socket.t TEST 15: explicit cipher configuration - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:02:58 [error] 29773\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 26: handshake timed out - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 26: handshake timed out - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:03:00 [error] 29784\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 26: handshake timed out - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: timeout
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 26: handshake timed out - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:03:00 [error] 29784\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:03:05 [error] 29806\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 27: unix domain ssl cosocket (no gen session) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:03:05 [error] 29806\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - response_body - response is expected (repeated req 0, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - pattern "lua ssl certificate does not match host "blah.agentzh.org"" should match a line in error.log (req 0)
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,3 @@
connected: 1
-failed to do SSL handshake: certificate host mismatch
+failed to do SSL handshake: handshake failed
failed to send stream request: closed
'
129-ssl-socket.t TEST 5: certificate does not match host name (verify) - pattern "lua ssl certificate does not match host "blah.agentzh.org"" should match a line in error.log (req 1)
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 0, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 18: self signed certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 0)
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - response_body - response is expected (repeated req 1, req 0) @@ -1,2 +1,2 @@
connected: 1
-failed to do SSL handshake: 18: self signed certificate
+failed to do SSL handshake: handshake failed
'
129-ssl-socket.t TEST 31: unix domain ssl cosocket (verify cert but no host name check, NOT passed) - pattern "lua ssl certificate verify error: (18: self signed certificate)" should match a line in error.log (req 1)
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 0, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 57 bytes.
-received: HTTP/1.1 401 Unauthorized
-close: 1 nil
'
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 0) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 2: no SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:03:13 [error] 29839\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 2: no SNI, no verify - response_body - response is expected (repeated req 1, req 0) @@ -1,5 +1,2 @@
connected: 1
-ssl handshake: userdata
+failed to do SSL handshake: handshake failed
-sent stream request: 57 bytes.
-received: HTTP/1.1 401 Unauthorized
-close: 1 nil
'
129-ssl-socket.t TEST 2: no SNI, no verify - grep_error_log_out (req 1) ''
doesn't match '(?^:^lua ssl save session: ([0-9A-F]+):2
lua ssl free session: ([0-9A-F]+):1
$)'
129-ssl-socket.t TEST 2: no SNI, no verify - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:03:13 [error] 29839\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 0, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
-connected: 1
-ssl handshake: true
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:03:15 [error] 29850\#0: *3 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 0)
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - response_body - response is expected (repeated req 1, req 0) @@ -1,4 +1,2 @@
connected: 1
-ssl handshake: true
+failed to do SSL handshake: handshake failed
-connected: 1
-ssl handshake: true
'
129-ssl-socket.t TEST 29: unix domain ssl cosocket (keepalive) - pattern "[error]" should not match any line in error.log but matches line "2016/11/08 23:03:16 [error] 29850\#0: *8 peer closed connection in SSL handshake while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] unexpected lua closing long-bracket in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]==]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] Lua code block missing the closing long bracket "]]" in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:22
132-lua-blocks.t nginx: [emerg] "http" directive is not allowed here in /home/ec2-user/git/stream-lua-nginx-module/t/servroot/conf/nginx.conf:28
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.