(This page was automatically generated by the tools in the opsboy project on 20:40:32 04-Nov-2016 GMT.)

Detailed Test Report for ngx_stream_lua in linux x86_64 (rv)

Summary

Commit Testing Time Unexpected
Failures
Expected
Failures
Files Tests Elapsed Time
aafd50b2 2016-10-29 23:13:23 GMT 5094 182 94 7564 2632 sec

LuaJIT

LuaJIT 2.1.0-beta2, commit e244b1d

Compilation Errors

Unexpected Failures

File Name Details
093-uthread-spawn.t TEST 5: error in user thread ==23792== Invalid read of size 8
==23792== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23792== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Address 0x83d2730 is 32 bytes inside a block of size 96 free'd
==23792== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23792== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23792== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23792== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23792== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23792== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23792== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23792== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Block was alloc'd at
==23792== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23792== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23792== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23792== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23792== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23792== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23792== Invalid read of size 8
==23792== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23792== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Address 0x83d28f0 is 96 bytes inside a block of size 104 free'd
==23792== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23792== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23792== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23792== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23792== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23792== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23792== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23792== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Block was alloc'd at
==23792== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23792== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23792== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23792== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23792== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23792== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23792== Invalid read of size 8
==23792== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23792== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Address 0x83d29e0 is 80 bytes inside a block of size 368 free'd
==23792== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23792== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23792== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23792== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23792== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23792== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23792== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23792== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Block was alloc'd at
==23792== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23792== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23792== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23792== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23792== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23792== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23792== Invalid read of size 8
==23792== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23792== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23792== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Address 0x83d2a10 is 128 bytes inside a block of size 368 free'd
==23792== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23792== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23792== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23792== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23792== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23792== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23792== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23792== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Block was alloc'd at
==23792== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23792== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23792== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23792== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23792== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23792== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792==
{
<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 ==23792== Invalid read of size 8
==23792== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23792== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Address 0x83d2718 is 8 bytes inside a block of size 96 free'd
==23792== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23792== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23792== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23792== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23792== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23792== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23792== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23792== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Block was alloc'd at
==23792== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23792== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23792== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23792== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23792== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23792== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23792== Invalid read of size 8
==23792== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23792== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23792== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Address 0x83d2718 is 8 bytes inside a block of size 96 free'd
==23792== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23792== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23792== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23792== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23792== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23792== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23792== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23792== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Block was alloc'd at
==23792== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23792== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23792== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23792== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23792== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23792== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792==
{
<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 ==23792== Invalid read of size 8
==23792== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23792== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23792== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Address 0x83d2590 is 0 bytes inside a block of size 80 free'd
==23792== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23792== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23792== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23792== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23792== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23792== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23792== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23792== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Block was alloc'd at
==23792== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23792== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23792== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23792== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23792== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792==
{
<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 ==23792== Invalid read of size 8
==23792== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==23792== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23792== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23792== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Address 0x83d25a0 is 16 bytes inside a block of size 80 free'd
==23792== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23792== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23792== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23792== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23792== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23792== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23792== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23792== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Block was alloc'd at
==23792== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23792== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23792== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23792== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23792== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23792== Invalid read of size 8
==23792== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==23792== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23792== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23792== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Address 0x83d2590 is 0 bytes inside a block of size 80 free'd
==23792== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23792== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23792== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23792== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23792== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23792== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23792== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23792== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Block was alloc'd at
==23792== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23792== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23792== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23792== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23792== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23792== Invalid read of size 8
==23792== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==23792== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23792== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23792== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Address 0x83d2590 is 0 bytes inside a block of size 80 free'd
==23792== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23792== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23792== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23792== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23792== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23792== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23792== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23792== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Block was alloc'd at
==23792== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23792== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23792== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23792== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23792== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23792== Invalid read of size 8
==23792== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==23792== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23792== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23792== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Address 0x83d25c0 is 48 bytes inside a block of size 80 free'd
==23792== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23792== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23792== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23792== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23792== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23792== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23792== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23792== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Block was alloc'd at
==23792== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23792== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23792== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23792== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23792== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23792== Invalid read of size 8
==23792== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==23792== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23792== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23792== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Address 0x83d25a8 is 24 bytes inside a block of size 80 free'd
==23792== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23792== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23792== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23792== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23792== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23792== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23792== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23792== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Block was alloc'd at
==23792== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23792== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23792== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23792== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23792== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23792== Invalid read of size 8
==23792== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==23792== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23792== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23792== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Address 0x83d2598 is 8 bytes inside a block of size 80 free'd
==23792== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23792== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23792== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23792== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23792== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23792== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23792== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23792== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Block was alloc'd at
==23792== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23792== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23792== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23792== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23792== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23792== Invalid read of size 8
==23792== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==23792== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23792== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23792== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Address 0x83d2598 is 8 bytes inside a block of size 80 free'd
==23792== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23792== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23792== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23792== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23792== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23792== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23792== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23792== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Block was alloc'd at
==23792== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23792== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23792== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23792== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23792== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23792== Invalid read of size 8
==23792== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==23792== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23792== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23792== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Address 0x83d25d8 is 72 bytes inside a block of size 80 free'd
==23792== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23792== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23792== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23792== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23792== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23792== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23792== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23792== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23792== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23792== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23792== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23792== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792== Block was alloc'd at
==23792== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23792== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23792== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23792== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23792== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23792== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23792== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23792== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23792== by 0x41B70E: main (nginx.c:364)
==23792==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23803== Invalid read of size 8
==23803== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23803== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Address 0x83d27c0 is 32 bytes inside a block of size 96 free'd
==23803== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23803== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23803== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23803== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23803== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23803== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23803== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23803== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Block was alloc'd at
==23803== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23803== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23803== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23803== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23803== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23803== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23803== Invalid read of size 8
==23803== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23803== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Address 0x83d2980 is 96 bytes inside a block of size 104 free'd
==23803== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23803== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23803== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23803== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23803== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23803== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23803== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23803== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Block was alloc'd at
==23803== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23803== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23803== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23803== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23803== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23803== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23803== Invalid read of size 8
==23803== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23803== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Address 0x83d2a70 is 80 bytes inside a block of size 368 free'd
==23803== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23803== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23803== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23803== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23803== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23803== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23803== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23803== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Block was alloc'd at
==23803== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23803== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23803== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23803== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23803== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23803== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23803== Invalid read of size 8
==23803== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23803== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23803== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Address 0x83d2aa0 is 128 bytes inside a block of size 368 free'd
==23803== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23803== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23803== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23803== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23803== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23803== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23803== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23803== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Block was alloc'd at
==23803== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23803== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23803== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23803== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23803== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23803== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803==
{
<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 ==23803== Invalid read of size 8
==23803== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23803== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Address 0x83d27a8 is 8 bytes inside a block of size 96 free'd
==23803== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23803== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23803== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23803== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23803== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23803== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23803== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23803== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Block was alloc'd at
==23803== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23803== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23803== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23803== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23803== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23803== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23803== Invalid read of size 8
==23803== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23803== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23803== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Address 0x83d27a8 is 8 bytes inside a block of size 96 free'd
==23803== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23803== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23803== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23803== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23803== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23803== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23803== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23803== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Block was alloc'd at
==23803== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23803== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23803== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23803== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23803== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23803== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803==
{
<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 ==23803== Invalid read of size 8
==23803== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23803== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23803== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Address 0x83d2620 is 0 bytes inside a block of size 80 free'd
==23803== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23803== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23803== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23803== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23803== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23803== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23803== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23803== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Block was alloc'd at
==23803== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23803== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23803== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23803== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23803== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803==
{
<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 ==23803== Invalid read of size 8
==23803== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==23803== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23803== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23803== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Address 0x83d2630 is 16 bytes inside a block of size 80 free'd
==23803== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23803== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23803== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23803== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23803== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23803== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23803== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23803== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Block was alloc'd at
==23803== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23803== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23803== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23803== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23803== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23803== Invalid read of size 8
==23803== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==23803== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23803== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23803== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Address 0x83d2620 is 0 bytes inside a block of size 80 free'd
==23803== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23803== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23803== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23803== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23803== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23803== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23803== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23803== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Block was alloc'd at
==23803== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23803== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23803== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23803== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23803== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23803== Invalid read of size 8
==23803== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==23803== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23803== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23803== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Address 0x83d2620 is 0 bytes inside a block of size 80 free'd
==23803== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23803== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23803== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23803== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23803== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23803== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23803== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23803== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Block was alloc'd at
==23803== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23803== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23803== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23803== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23803== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23803== Invalid read of size 8
==23803== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==23803== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23803== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23803== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Address 0x83d2650 is 48 bytes inside a block of size 80 free'd
==23803== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23803== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23803== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23803== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23803== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23803== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23803== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23803== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Block was alloc'd at
==23803== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23803== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23803== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23803== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23803== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23803== Invalid read of size 8
==23803== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==23803== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23803== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23803== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Address 0x83d2638 is 24 bytes inside a block of size 80 free'd
==23803== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23803== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23803== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23803== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23803== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23803== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23803== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23803== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Block was alloc'd at
==23803== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23803== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23803== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23803== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23803== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23803== Invalid read of size 8
==23803== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==23803== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23803== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23803== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Address 0x83d2628 is 8 bytes inside a block of size 80 free'd
==23803== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23803== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23803== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23803== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23803== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23803== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23803== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23803== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Block was alloc'd at
==23803== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23803== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23803== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23803== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23803== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23803== Invalid read of size 8
==23803== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==23803== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23803== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23803== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Address 0x83d2628 is 8 bytes inside a block of size 80 free'd
==23803== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23803== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23803== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23803== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23803== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23803== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23803== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23803== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Block was alloc'd at
==23803== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23803== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23803== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23803== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23803== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23803== Invalid read of size 8
==23803== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==23803== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23803== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23803== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Address 0x83d2668 is 72 bytes inside a block of size 80 free'd
==23803== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23803== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23803== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23803== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23803== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23803== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23803== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23803== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23803== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23803== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23803== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23803== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803== Block was alloc'd at
==23803== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23803== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23803== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23803== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23803== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23803== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23803== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23803== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23803== by 0x41B70E: main (nginx.c:364)
==23803==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23814== Invalid read of size 8
==23814== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23814== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Address 0x83d2970 is 32 bytes inside a block of size 96 free'd
==23814== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23814== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23814== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23814== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23814== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23814== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23814== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23814== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Block was alloc'd at
==23814== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23814== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23814== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23814== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23814== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23814== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23814== Invalid read of size 8
==23814== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23814== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Address 0x83d2b30 is 96 bytes inside a block of size 104 free'd
==23814== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23814== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23814== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23814== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23814== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23814== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23814== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23814== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Block was alloc'd at
==23814== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23814== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23814== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23814== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23814== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23814== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23814== Invalid read of size 8
==23814== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23814== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Address 0x83d2c20 is 80 bytes inside a block of size 368 free'd
==23814== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23814== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23814== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23814== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23814== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23814== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23814== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23814== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Block was alloc'd at
==23814== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23814== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23814== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23814== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23814== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23814== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23814== Invalid read of size 8
==23814== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23814== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23814== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Address 0x83d2c50 is 128 bytes inside a block of size 368 free'd
==23814== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23814== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23814== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23814== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23814== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23814== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23814== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23814== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Block was alloc'd at
==23814== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23814== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23814== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23814== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23814== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23814== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814==
{
<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 ==23814== Invalid read of size 8
==23814== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23814== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Address 0x83d2958 is 8 bytes inside a block of size 96 free'd
==23814== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23814== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23814== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23814== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23814== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23814== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23814== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23814== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Block was alloc'd at
==23814== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23814== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23814== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23814== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23814== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23814== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23814== Invalid read of size 8
==23814== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23814== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23814== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Address 0x83d2958 is 8 bytes inside a block of size 96 free'd
==23814== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23814== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23814== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23814== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23814== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23814== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23814== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23814== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Block was alloc'd at
==23814== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23814== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23814== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23814== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23814== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23814== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814==
{
<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 ==23814== Invalid read of size 8
==23814== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23814== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23814== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Address 0x83d27d0 is 0 bytes inside a block of size 80 free'd
==23814== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23814== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23814== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23814== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23814== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23814== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23814== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23814== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Block was alloc'd at
==23814== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23814== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23814== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23814== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23814== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814==
{
<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 ==23814== Invalid read of size 8
==23814== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==23814== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23814== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23814== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Address 0x83d27e0 is 16 bytes inside a block of size 80 free'd
==23814== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23814== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23814== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23814== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23814== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23814== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23814== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23814== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Block was alloc'd at
==23814== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23814== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23814== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23814== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23814== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23814== Invalid read of size 8
==23814== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==23814== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23814== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23814== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Address 0x83d27d0 is 0 bytes inside a block of size 80 free'd
==23814== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23814== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23814== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23814== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23814== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23814== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23814== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23814== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Block was alloc'd at
==23814== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23814== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23814== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23814== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23814== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23814== Invalid read of size 8
==23814== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==23814== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23814== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23814== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Address 0x83d27d0 is 0 bytes inside a block of size 80 free'd
==23814== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23814== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23814== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23814== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23814== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23814== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23814== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23814== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Block was alloc'd at
==23814== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23814== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23814== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23814== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23814== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23814== Invalid read of size 8
==23814== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==23814== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23814== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23814== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Address 0x83d2800 is 48 bytes inside a block of size 80 free'd
==23814== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23814== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23814== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23814== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23814== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23814== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23814== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23814== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Block was alloc'd at
==23814== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23814== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23814== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23814== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23814== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23814== Invalid read of size 8
==23814== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==23814== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23814== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23814== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Address 0x83d27e8 is 24 bytes inside a block of size 80 free'd
==23814== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23814== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23814== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23814== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23814== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23814== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23814== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23814== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Block was alloc'd at
==23814== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23814== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23814== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23814== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23814== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23814== Invalid read of size 8
==23814== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==23814== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23814== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23814== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Address 0x83d27d8 is 8 bytes inside a block of size 80 free'd
==23814== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23814== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23814== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23814== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23814== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23814== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23814== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23814== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Block was alloc'd at
==23814== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23814== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23814== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23814== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23814== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23814== Invalid read of size 8
==23814== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==23814== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23814== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23814== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Address 0x83d27d8 is 8 bytes inside a block of size 80 free'd
==23814== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23814== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23814== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23814== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23814== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23814== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23814== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23814== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Block was alloc'd at
==23814== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23814== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23814== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23814== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23814== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23814== Invalid read of size 8
==23814== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==23814== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23814== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23814== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Address 0x83d2818 is 72 bytes inside a block of size 80 free'd
==23814== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23814== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23814== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23814== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23814== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23814== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23814== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23814== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23814== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23814== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23814== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23814== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814== Block was alloc'd at
==23814== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23814== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23814== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23814== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23814== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23814== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23814== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23814== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23814== by 0x41B70E: main (nginx.c:364)
==23814==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23825== Invalid read of size 8
==23825== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23825== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Address 0x83d2a00 is 32 bytes inside a block of size 96 free'd
==23825== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23825== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23825== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23825== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23825== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23825== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23825== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23825== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Block was alloc'd at
==23825== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23825== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23825== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23825== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23825== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23825== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23825== Invalid read of size 8
==23825== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23825== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Address 0x83d2bc0 is 96 bytes inside a block of size 104 free'd
==23825== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23825== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23825== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23825== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23825== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23825== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23825== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23825== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Block was alloc'd at
==23825== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23825== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23825== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23825== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23825== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23825== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23825== Invalid read of size 8
==23825== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23825== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Address 0x83d2cb0 is 80 bytes inside a block of size 368 free'd
==23825== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23825== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23825== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23825== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23825== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23825== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23825== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23825== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Block was alloc'd at
==23825== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23825== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23825== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23825== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23825== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23825== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23825== Invalid read of size 8
==23825== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23825== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23825== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Address 0x83d4bf0 is 32 bytes inside a block of size 672 free'd
==23825== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23825== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23825== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23825== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23825== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23825== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23825== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23825== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Block was alloc'd at
==23825== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23825== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23825== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23825== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23825== by 0x41D445: ngx_list_init (ngx_list.h:39)
==23825== by 0x41D445: ngx_list_create (ngx_list.c:22)
==23825== by 0x4F6B9E: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==23825== by 0x502865: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==23825== by 0x501EB2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==23825== by 0x54626F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==23825== by 0x4F5EA0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==23825== by 0x4F4155: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==23825== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23825== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825==
{
<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 ==23825== Invalid read of size 8
==23825== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23825== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Address 0x83d29e8 is 8 bytes inside a block of size 96 free'd
==23825== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23825== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23825== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23825== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23825== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23825== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23825== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23825== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Block was alloc'd at
==23825== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23825== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23825== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23825== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23825== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23825== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23825== Invalid read of size 8
==23825== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23825== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23825== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Address 0x83d29e8 is 8 bytes inside a block of size 96 free'd
==23825== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23825== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23825== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23825== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23825== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23825== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23825== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23825== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Block was alloc'd at
==23825== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23825== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23825== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23825== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23825== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23825== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825==
{
<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 ==23825== Invalid read of size 8
==23825== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23825== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23825== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Address 0x83d2860 is 0 bytes inside a block of size 80 free'd
==23825== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23825== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23825== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23825== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23825== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23825== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23825== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23825== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Block was alloc'd at
==23825== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23825== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23825== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23825== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23825== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825==
{
<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 ==23825== Invalid read of size 8
==23825== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==23825== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23825== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23825== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Address 0x83d2870 is 16 bytes inside a block of size 80 free'd
==23825== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23825== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23825== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23825== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23825== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23825== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23825== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23825== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Block was alloc'd at
==23825== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23825== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23825== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23825== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23825== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23825== Invalid read of size 8
==23825== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==23825== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23825== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23825== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Address 0x83d2860 is 0 bytes inside a block of size 80 free'd
==23825== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23825== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23825== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23825== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23825== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23825== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23825== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23825== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Block was alloc'd at
==23825== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23825== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23825== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23825== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23825== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23825== Invalid read of size 8
==23825== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==23825== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23825== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23825== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Address 0x83d2860 is 0 bytes inside a block of size 80 free'd
==23825== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23825== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23825== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23825== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23825== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23825== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23825== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23825== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Block was alloc'd at
==23825== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23825== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23825== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23825== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23825== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23825== Invalid read of size 8
==23825== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==23825== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23825== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23825== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Address 0x83d2890 is 48 bytes inside a block of size 80 free'd
==23825== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23825== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23825== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23825== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23825== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23825== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23825== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23825== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Block was alloc'd at
==23825== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23825== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23825== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23825== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23825== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23825== Invalid read of size 8
==23825== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==23825== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23825== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23825== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Address 0x83d2878 is 24 bytes inside a block of size 80 free'd
==23825== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23825== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23825== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23825== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23825== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23825== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23825== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23825== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Block was alloc'd at
==23825== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23825== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23825== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23825== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23825== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23825== Invalid read of size 8
==23825== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==23825== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23825== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23825== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Address 0x83d2868 is 8 bytes inside a block of size 80 free'd
==23825== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23825== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23825== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23825== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23825== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23825== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23825== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23825== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Block was alloc'd at
==23825== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23825== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23825== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23825== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23825== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23825== Invalid read of size 8
==23825== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==23825== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23825== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23825== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Address 0x83d2868 is 8 bytes inside a block of size 80 free'd
==23825== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23825== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23825== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23825== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23825== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23825== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23825== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23825== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Block was alloc'd at
==23825== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23825== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23825== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23825== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23825== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23825== Invalid read of size 8
==23825== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==23825== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23825== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23825== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Address 0x83d28a8 is 72 bytes inside a block of size 80 free'd
==23825== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23825== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23825== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23825== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23825== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23825== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23825== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23825== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23825== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23825== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23825== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23825== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825== Block was alloc'd at
==23825== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23825== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23825== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23825== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23825== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23825== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23825== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23825== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23825== by 0x41B70E: main (nginx.c:364)
==23825==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23836== Invalid read of size 8
==23836== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23836== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Address 0x83d2e20 is 32 bytes inside a block of size 96 free'd
==23836== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23836== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23836== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23836== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23836== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23836== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23836== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23836== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Block was alloc'd at
==23836== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23836== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23836== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23836== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23836== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23836== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23836== Invalid read of size 8
==23836== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23836== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Address 0x83d2fe0 is 96 bytes inside a block of size 104 free'd
==23836== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23836== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23836== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23836== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23836== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23836== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23836== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23836== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Block was alloc'd at
==23836== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23836== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23836== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23836== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23836== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23836== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23836== Invalid read of size 8
==23836== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23836== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Address 0x83d30d0 is 80 bytes inside a block of size 368 free'd
==23836== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23836== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23836== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23836== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23836== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23836== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23836== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23836== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Block was alloc'd at
==23836== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23836== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23836== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23836== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23836== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23836== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23836== Invalid read of size 8
==23836== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23836== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23836== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Address 0x83d3100 is 128 bytes inside a block of size 368 free'd
==23836== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23836== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23836== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23836== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23836== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23836== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23836== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23836== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Block was alloc'd at
==23836== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23836== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23836== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23836== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23836== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23836== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836==
{
<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 ==23836== Invalid read of size 8
==23836== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23836== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Address 0x83d2e08 is 8 bytes inside a block of size 96 free'd
==23836== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23836== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23836== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23836== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23836== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23836== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23836== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23836== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Block was alloc'd at
==23836== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23836== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23836== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23836== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23836== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23836== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23836== Invalid read of size 8
==23836== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23836== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23836== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Address 0x83d2e08 is 8 bytes inside a block of size 96 free'd
==23836== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23836== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23836== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23836== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23836== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23836== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23836== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23836== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Block was alloc'd at
==23836== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23836== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23836== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23836== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23836== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23836== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836==
{
<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 ==23836== Invalid read of size 8
==23836== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23836== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23836== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Address 0x83d2c80 is 0 bytes inside a block of size 80 free'd
==23836== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23836== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23836== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23836== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23836== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23836== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23836== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23836== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Block was alloc'd at
==23836== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23836== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23836== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23836== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23836== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836==
{
<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 ==23836== Invalid read of size 8
==23836== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==23836== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23836== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23836== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Address 0x83d2c90 is 16 bytes inside a block of size 80 free'd
==23836== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23836== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23836== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23836== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23836== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23836== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23836== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23836== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Block was alloc'd at
==23836== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23836== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23836== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23836== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23836== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23836== Invalid read of size 8
==23836== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==23836== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23836== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23836== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Address 0x83d2c80 is 0 bytes inside a block of size 80 free'd
==23836== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23836== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23836== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23836== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23836== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23836== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23836== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23836== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Block was alloc'd at
==23836== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23836== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23836== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23836== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23836== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23836== Invalid read of size 8
==23836== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==23836== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23836== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23836== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Address 0x83d2c80 is 0 bytes inside a block of size 80 free'd
==23836== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23836== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23836== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23836== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23836== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23836== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23836== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23836== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Block was alloc'd at
==23836== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23836== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23836== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23836== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23836== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23836== Invalid read of size 8
==23836== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==23836== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23836== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23836== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Address 0x83d2cb0 is 48 bytes inside a block of size 80 free'd
==23836== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23836== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23836== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23836== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23836== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23836== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23836== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23836== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Block was alloc'd at
==23836== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23836== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23836== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23836== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23836== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23836== Invalid read of size 8
==23836== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==23836== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23836== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23836== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Address 0x83d2c98 is 24 bytes inside a block of size 80 free'd
==23836== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23836== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23836== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23836== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23836== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23836== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23836== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23836== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Block was alloc'd at
==23836== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23836== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23836== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23836== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23836== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23836== Invalid read of size 8
==23836== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==23836== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23836== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23836== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Address 0x83d2c88 is 8 bytes inside a block of size 80 free'd
==23836== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23836== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23836== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23836== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23836== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23836== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23836== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23836== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Block was alloc'd at
==23836== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23836== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23836== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23836== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23836== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23836== Invalid read of size 8
==23836== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==23836== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23836== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23836== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Address 0x83d2c88 is 8 bytes inside a block of size 80 free'd
==23836== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23836== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23836== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23836== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23836== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23836== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23836== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23836== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Block was alloc'd at
==23836== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23836== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23836== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23836== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23836== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23836== Invalid read of size 8
==23836== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==23836== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23836== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23836== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Address 0x83d2cc8 is 72 bytes inside a block of size 80 free'd
==23836== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23836== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23836== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23836== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23836== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23836== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23836== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23836== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23836== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23836== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23836== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23836== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836== Block was alloc'd at
==23836== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23836== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23836== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23836== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23836== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23836== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23836== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23836== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23836== by 0x41B70E: main (nginx.c:364)
==23836==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23880== Invalid read of size 8
==23880== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23880== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Address 0x83d3170 is 32 bytes inside a block of size 96 free'd
==23880== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23880== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23880== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23880== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23880== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23880== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23880== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23880== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Block was alloc'd at
==23880== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23880== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23880== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23880== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23880== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23880== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23880== Invalid read of size 8
==23880== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23880== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Address 0x83d3330 is 96 bytes inside a block of size 104 free'd
==23880== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23880== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23880== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23880== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23880== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23880== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23880== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23880== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Block was alloc'd at
==23880== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23880== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23880== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23880== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23880== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23880== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23880== Invalid read of size 8
==23880== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23880== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Address 0x83d3420 is 80 bytes inside a block of size 368 free'd
==23880== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23880== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23880== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23880== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23880== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23880== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23880== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23880== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Block was alloc'd at
==23880== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23880== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23880== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23880== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23880== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23880== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23880== Invalid read of size 8
==23880== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23880== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23880== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Address 0x83d5aa8 is 200 bytes inside a block of size 672 free'd
==23880== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23880== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23880== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23880== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23880== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23880== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23880== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23880== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Block was alloc'd at
==23880== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23880== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23880== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23880== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23880== by 0x41D445: ngx_list_init (ngx_list.h:39)
==23880== by 0x41D445: ngx_list_create (ngx_list.c:22)
==23880== by 0x4F6B9E: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==23880== by 0x502865: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==23880== by 0x501EB2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==23880== by 0x54626F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==23880== by 0x4F5EA0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==23880== by 0x4F4155: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==23880== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23880== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880==
{
<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 ==23880== Invalid read of size 8
==23880== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23880== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Address 0x83d3158 is 8 bytes inside a block of size 96 free'd
==23880== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23880== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23880== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23880== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23880== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23880== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23880== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23880== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Block was alloc'd at
==23880== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23880== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23880== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23880== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23880== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23880== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23880== Invalid read of size 8
==23880== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23880== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23880== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Address 0x83d3158 is 8 bytes inside a block of size 96 free'd
==23880== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23880== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23880== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23880== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23880== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23880== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23880== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23880== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Block was alloc'd at
==23880== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23880== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23880== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23880== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23880== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23880== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880==
{
<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 ==23880== Invalid read of size 8
==23880== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23880== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23880== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Address 0x83d2fd0 is 0 bytes inside a block of size 80 free'd
==23880== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23880== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23880== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23880== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23880== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23880== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23880== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23880== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Block was alloc'd at
==23880== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23880== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23880== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23880== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23880== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880==
{
<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 ==23880== Invalid read of size 8
==23880== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==23880== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23880== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23880== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Address 0x83d2fe0 is 16 bytes inside a block of size 80 free'd
==23880== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23880== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23880== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23880== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23880== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23880== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23880== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23880== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Block was alloc'd at
==23880== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23880== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23880== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23880== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23880== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23880== Invalid read of size 8
==23880== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==23880== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23880== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23880== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Address 0x83d2fd0 is 0 bytes inside a block of size 80 free'd
==23880== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23880== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23880== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23880== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23880== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23880== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23880== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23880== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Block was alloc'd at
==23880== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23880== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23880== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23880== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23880== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23880== Invalid read of size 8
==23880== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==23880== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23880== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23880== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Address 0x83d2fd0 is 0 bytes inside a block of size 80 free'd
==23880== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23880== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23880== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23880== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23880== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23880== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23880== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23880== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Block was alloc'd at
==23880== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23880== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23880== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23880== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23880== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23880== Invalid read of size 8
==23880== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==23880== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23880== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23880== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Address 0x83d3000 is 48 bytes inside a block of size 80 free'd
==23880== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23880== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23880== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23880== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23880== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23880== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23880== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23880== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Block was alloc'd at
==23880== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23880== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23880== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23880== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23880== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23880== Invalid read of size 8
==23880== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==23880== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23880== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23880== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Address 0x83d2fe8 is 24 bytes inside a block of size 80 free'd
==23880== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23880== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23880== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23880== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23880== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23880== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23880== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23880== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Block was alloc'd at
==23880== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23880== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23880== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23880== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23880== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23880== Invalid read of size 8
==23880== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==23880== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23880== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23880== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Address 0x83d2fd8 is 8 bytes inside a block of size 80 free'd
==23880== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23880== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23880== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23880== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23880== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23880== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23880== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23880== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Block was alloc'd at
==23880== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23880== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23880== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23880== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23880== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23880== Invalid read of size 8
==23880== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==23880== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23880== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23880== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Address 0x83d2fd8 is 8 bytes inside a block of size 80 free'd
==23880== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23880== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23880== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23880== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23880== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23880== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23880== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23880== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Block was alloc'd at
==23880== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23880== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23880== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23880== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23880== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23880== Invalid read of size 8
==23880== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==23880== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23880== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23880== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Address 0x83d3018 is 72 bytes inside a block of size 80 free'd
==23880== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23880== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23880== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23880== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23880== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23880== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23880== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23880== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23880== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23880== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23880== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23880== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880== Block was alloc'd at
==23880== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23880== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23880== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23880== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23880== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23880== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23880== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23880== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23880== by 0x41B70E: main (nginx.c:364)
==23880==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23913== Invalid read of size 8
==23913== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23913== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Address 0x83d28d0 is 32 bytes inside a block of size 96 free'd
==23913== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23913== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23913== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23913== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23913== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23913== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23913== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23913== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Block was alloc'd at
==23913== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23913== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23913== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23913== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23913== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23913== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23913== Invalid read of size 8
==23913== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23913== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Address 0x83d2a90 is 96 bytes inside a block of size 104 free'd
==23913== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23913== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23913== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23913== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23913== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23913== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23913== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23913== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Block was alloc'd at
==23913== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23913== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23913== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23913== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23913== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23913== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23913== Invalid read of size 8
==23913== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23913== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Address 0x83d2b80 is 80 bytes inside a block of size 368 free'd
==23913== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23913== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23913== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23913== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23913== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23913== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23913== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23913== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Block was alloc'd at
==23913== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23913== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23913== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23913== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23913== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23913== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23913== Invalid read of size 8
==23913== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23913== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23913== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Address 0x83d2bb0 is 128 bytes inside a block of size 368 free'd
==23913== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23913== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23913== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23913== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23913== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23913== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23913== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23913== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Block was alloc'd at
==23913== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23913== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23913== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23913== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23913== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23913== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913==
{
<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 ==23913== Invalid read of size 8
==23913== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23913== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Address 0x83d28b8 is 8 bytes inside a block of size 96 free'd
==23913== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23913== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23913== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23913== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23913== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23913== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23913== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23913== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Block was alloc'd at
==23913== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23913== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23913== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23913== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23913== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23913== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23913== Invalid read of size 8
==23913== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23913== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23913== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Address 0x83d28b8 is 8 bytes inside a block of size 96 free'd
==23913== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23913== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23913== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23913== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23913== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23913== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23913== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23913== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Block was alloc'd at
==23913== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23913== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23913== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23913== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23913== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23913== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913==
{
<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 ==23913== Invalid read of size 8
==23913== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23913== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23913== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Address 0x83d2730 is 0 bytes inside a block of size 80 free'd
==23913== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23913== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23913== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23913== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23913== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23913== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23913== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23913== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Block was alloc'd at
==23913== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23913== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23913== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23913== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23913== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913==
{
<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 ==23913== Invalid read of size 8
==23913== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==23913== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23913== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23913== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Address 0x83d2740 is 16 bytes inside a block of size 80 free'd
==23913== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23913== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23913== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23913== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23913== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23913== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23913== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23913== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Block was alloc'd at
==23913== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23913== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23913== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23913== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23913== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23913== Invalid read of size 8
==23913== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==23913== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23913== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23913== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Address 0x83d2730 is 0 bytes inside a block of size 80 free'd
==23913== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23913== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23913== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23913== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23913== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23913== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23913== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23913== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Block was alloc'd at
==23913== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23913== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23913== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23913== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23913== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23913== Invalid read of size 8
==23913== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==23913== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23913== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23913== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Address 0x83d2730 is 0 bytes inside a block of size 80 free'd
==23913== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23913== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23913== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23913== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23913== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23913== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23913== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23913== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Block was alloc'd at
==23913== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23913== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23913== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23913== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23913== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23913== Invalid read of size 8
==23913== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==23913== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23913== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23913== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Address 0x83d2760 is 48 bytes inside a block of size 80 free'd
==23913== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23913== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23913== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23913== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23913== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23913== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23913== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23913== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Block was alloc'd at
==23913== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23913== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23913== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23913== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23913== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23913== Invalid read of size 8
==23913== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==23913== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23913== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23913== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Address 0x83d2748 is 24 bytes inside a block of size 80 free'd
==23913== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23913== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23913== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23913== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23913== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23913== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23913== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23913== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Block was alloc'd at
==23913== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23913== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23913== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23913== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23913== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23913== Invalid read of size 8
==23913== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==23913== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23913== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23913== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Address 0x83d2738 is 8 bytes inside a block of size 80 free'd
==23913== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23913== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23913== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23913== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23913== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23913== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23913== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23913== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Block was alloc'd at
==23913== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23913== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23913== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23913== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23913== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23913== Invalid read of size 8
==23913== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==23913== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23913== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23913== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Address 0x83d2738 is 8 bytes inside a block of size 80 free'd
==23913== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23913== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23913== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23913== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23913== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23913== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23913== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23913== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Block was alloc'd at
==23913== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23913== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23913== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23913== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23913== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23913== Invalid read of size 8
==23913== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==23913== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23913== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23913== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Address 0x83d2778 is 72 bytes inside a block of size 80 free'd
==23913== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23913== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23913== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23913== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23913== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23913== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23913== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23913== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23913== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23913== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23913== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23913== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913== Block was alloc'd at
==23913== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23913== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23913== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23913== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23913== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23913== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23913== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23913== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23913== by 0x41B70E: main (nginx.c:364)
==23913==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23935== Invalid read of size 8
==23935== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23935== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Address 0x83d2d30 is 32 bytes inside a block of size 96 free'd
==23935== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23935== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23935== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23935== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23935== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23935== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23935== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23935== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Block was alloc'd at
==23935== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23935== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23935== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23935== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23935== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23935== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23935== Invalid read of size 8
==23935== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23935== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Address 0x83d2ef0 is 96 bytes inside a block of size 104 free'd
==23935== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23935== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23935== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23935== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23935== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23935== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23935== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23935== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Block was alloc'd at
==23935== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23935== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23935== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23935== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23935== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23935== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23935== Invalid read of size 8
==23935== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23935== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Address 0x83d2fe0 is 80 bytes inside a block of size 368 free'd
==23935== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23935== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23935== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23935== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23935== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23935== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23935== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23935== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Block was alloc'd at
==23935== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23935== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23935== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23935== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23935== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23935== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23935== Invalid read of size 8
==23935== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23935== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23935== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Address 0x83d5100 is 32 bytes inside a block of size 672 free'd
==23935== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23935== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23935== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23935== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23935== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23935== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23935== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23935== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Block was alloc'd at
==23935== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23935== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23935== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23935== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23935== by 0x41D445: ngx_list_init (ngx_list.h:39)
==23935== by 0x41D445: ngx_list_create (ngx_list.c:22)
==23935== by 0x4F6B9E: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==23935== by 0x502865: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==23935== by 0x501EB2: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==23935== by 0x54626F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==23935== by 0x4F5EA0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==23935== by 0x4F4155: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==23935== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23935== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935==
{
<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 ==23935== Invalid read of size 8
==23935== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23935== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Address 0x83d2d18 is 8 bytes inside a block of size 96 free'd
==23935== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23935== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23935== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23935== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23935== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23935== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23935== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23935== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Block was alloc'd at
==23935== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23935== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23935== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23935== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23935== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23935== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23935== Invalid read of size 8
==23935== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23935== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23935== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Address 0x83d2d18 is 8 bytes inside a block of size 96 free'd
==23935== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23935== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23935== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23935== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23935== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23935== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23935== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23935== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Block was alloc'd at
==23935== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23935== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23935== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23935== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23935== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23935== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935==
{
<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 ==23935== Invalid read of size 8
==23935== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23935== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23935== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Address 0x83d2b90 is 0 bytes inside a block of size 80 free'd
==23935== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23935== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23935== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23935== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23935== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23935== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23935== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23935== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Block was alloc'd at
==23935== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23935== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23935== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23935== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23935== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935==
{
<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 ==23935== Invalid read of size 8
==23935== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==23935== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23935== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23935== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Address 0x83d2ba0 is 16 bytes inside a block of size 80 free'd
==23935== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23935== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23935== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23935== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23935== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23935== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23935== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23935== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Block was alloc'd at
==23935== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23935== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23935== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23935== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23935== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23935== Invalid read of size 8
==23935== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==23935== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23935== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23935== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Address 0x83d2b90 is 0 bytes inside a block of size 80 free'd
==23935== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23935== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23935== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23935== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23935== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23935== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23935== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23935== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Block was alloc'd at
==23935== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23935== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23935== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23935== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23935== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23935== Invalid read of size 8
==23935== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==23935== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23935== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23935== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Address 0x83d2b90 is 0 bytes inside a block of size 80 free'd
==23935== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23935== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23935== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23935== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23935== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23935== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23935== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23935== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Block was alloc'd at
==23935== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23935== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23935== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23935== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23935== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23935== Invalid read of size 8
==23935== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==23935== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23935== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23935== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Address 0x83d2bc0 is 48 bytes inside a block of size 80 free'd
==23935== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23935== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23935== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23935== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23935== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23935== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23935== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23935== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Block was alloc'd at
==23935== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23935== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23935== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23935== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23935== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23935== Invalid read of size 8
==23935== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==23935== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23935== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23935== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Address 0x83d2ba8 is 24 bytes inside a block of size 80 free'd
==23935== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23935== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23935== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23935== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23935== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23935== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23935== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23935== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Block was alloc'd at
==23935== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23935== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23935== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23935== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23935== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23935== Invalid read of size 8
==23935== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==23935== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23935== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23935== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Address 0x83d2b98 is 8 bytes inside a block of size 80 free'd
==23935== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23935== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23935== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23935== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23935== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23935== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23935== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23935== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Block was alloc'd at
==23935== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23935== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23935== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23935== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23935== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23935== Invalid read of size 8
==23935== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==23935== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23935== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23935== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Address 0x83d2b98 is 8 bytes inside a block of size 80 free'd
==23935== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23935== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23935== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23935== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23935== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23935== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23935== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23935== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Block was alloc'd at
==23935== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23935== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23935== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23935== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23935== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23935== Invalid read of size 8
==23935== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==23935== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23935== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23935== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Address 0x83d2bd8 is 72 bytes inside a block of size 80 free'd
==23935== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23935== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23935== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23935== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23935== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23935== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23935== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23935== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23935== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23935== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23935== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23935== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935== Block was alloc'd at
==23935== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23935== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23935== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23935== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23935== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23935== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23935== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23935== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23935== by 0x41B70E: main (nginx.c:364)
==23935==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23957== Invalid read of size 8
==23957== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23957== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Address 0x83d33a0 is 32 bytes inside a block of size 96 free'd
==23957== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23957== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23957== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23957== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23957== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23957== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23957== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23957== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Block was alloc'd at
==23957== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23957== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23957== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23957== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23957== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23957== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23957== Invalid read of size 8
==23957== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23957== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Address 0x83d3560 is 96 bytes inside a block of size 104 free'd
==23957== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23957== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23957== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23957== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23957== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23957== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23957== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23957== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Block was alloc'd at
==23957== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23957== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23957== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23957== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23957== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23957== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23957== Invalid read of size 8
==23957== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23957== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Address 0x83d3650 is 80 bytes inside a block of size 368 free'd
==23957== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23957== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23957== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23957== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23957== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23957== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23957== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23957== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Block was alloc'd at
==23957== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23957== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23957== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23957== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23957== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23957== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23957== Invalid read of size 8
==23957== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23957== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23957== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Address 0x83d3680 is 128 bytes inside a block of size 368 free'd
==23957== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23957== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23957== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23957== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23957== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23957== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23957== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23957== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Block was alloc'd at
==23957== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23957== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23957== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23957== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23957== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23957== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957==
{
<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 ==23957== Invalid read of size 8
==23957== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23957== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Address 0x83d3388 is 8 bytes inside a block of size 96 free'd
==23957== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23957== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23957== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23957== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23957== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23957== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23957== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23957== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Block was alloc'd at
==23957== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23957== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23957== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23957== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23957== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23957== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23957== Invalid read of size 8
==23957== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23957== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23957== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Address 0x83d3388 is 8 bytes inside a block of size 96 free'd
==23957== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23957== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23957== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23957== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23957== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23957== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23957== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23957== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Block was alloc'd at
==23957== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23957== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23957== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23957== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23957== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23957== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957==
{
<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 ==23957== Invalid read of size 8
==23957== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23957== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23957== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Address 0x83d3200 is 0 bytes inside a block of size 80 free'd
==23957== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23957== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23957== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23957== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23957== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23957== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23957== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23957== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Block was alloc'd at
==23957== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23957== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23957== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23957== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23957== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957==
{
<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 ==23957== Invalid read of size 8
==23957== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==23957== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23957== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23957== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Address 0x83d3210 is 16 bytes inside a block of size 80 free'd
==23957== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23957== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23957== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23957== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23957== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23957== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23957== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23957== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Block was alloc'd at
==23957== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23957== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23957== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23957== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23957== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23957== Invalid read of size 8
==23957== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==23957== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23957== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23957== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Address 0x83d3200 is 0 bytes inside a block of size 80 free'd
==23957== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23957== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23957== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23957== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23957== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23957== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23957== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23957== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Block was alloc'd at
==23957== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23957== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23957== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23957== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23957== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23957== Invalid read of size 8
==23957== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==23957== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23957== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23957== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Address 0x83d3200 is 0 bytes inside a block of size 80 free'd
==23957== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23957== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23957== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23957== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23957== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23957== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23957== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23957== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Block was alloc'd at
==23957== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23957== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23957== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23957== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23957== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23957== Invalid read of size 8
==23957== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==23957== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23957== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23957== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Address 0x83d3230 is 48 bytes inside a block of size 80 free'd
==23957== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23957== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23957== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23957== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23957== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23957== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23957== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23957== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Block was alloc'd at
==23957== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23957== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23957== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23957== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23957== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23957== Invalid read of size 8
==23957== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==23957== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23957== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23957== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Address 0x83d3218 is 24 bytes inside a block of size 80 free'd
==23957== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23957== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23957== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23957== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23957== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23957== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23957== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23957== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Block was alloc'd at
==23957== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23957== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23957== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23957== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23957== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23957== Invalid read of size 8
==23957== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==23957== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23957== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23957== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Address 0x83d3208 is 8 bytes inside a block of size 80 free'd
==23957== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23957== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23957== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23957== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23957== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23957== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23957== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23957== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Block was alloc'd at
==23957== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23957== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23957== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23957== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23957== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23957== Invalid read of size 8
==23957== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==23957== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23957== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23957== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Address 0x83d3208 is 8 bytes inside a block of size 80 free'd
==23957== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23957== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23957== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23957== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23957== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23957== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23957== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23957== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Block was alloc'd at
==23957== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23957== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23957== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23957== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23957== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23957== Invalid read of size 8
==23957== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==23957== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23957== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23957== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Address 0x83d3248 is 72 bytes inside a block of size 80 free'd
==23957== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23957== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23957== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23957== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23957== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23957== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23957== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23957== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23957== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23957== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23957== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23957== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957== Block was alloc'd at
==23957== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23957== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23957== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23957== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23957== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23957== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23957== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23957== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23957== by 0x41B70E: main (nginx.c:364)
==23957==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23968== Invalid read of size 8
==23968== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23968== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Address 0x83d2db0 is 32 bytes inside a block of size 96 free'd
==23968== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23968== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23968== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23968== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23968== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23968== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23968== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23968== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Block was alloc'd at
==23968== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23968== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23968== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23968== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23968== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23968== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23968== Invalid read of size 8
==23968== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23968== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Address 0x83d2f70 is 96 bytes inside a block of size 104 free'd
==23968== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23968== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23968== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23968== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23968== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23968== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23968== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23968== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Block was alloc'd at
==23968== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23968== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23968== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23968== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23968== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23968== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23968== Invalid read of size 8
==23968== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23968== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Address 0x83d3060 is 80 bytes inside a block of size 368 free'd
==23968== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23968== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23968== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23968== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23968== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23968== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23968== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23968== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Block was alloc'd at
==23968== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23968== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23968== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23968== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23968== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23968== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23968== Invalid read of size 8
==23968== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23968== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23968== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Address 0x83d3090 is 128 bytes inside a block of size 368 free'd
==23968== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23968== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23968== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23968== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23968== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23968== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23968== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23968== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Block was alloc'd at
==23968== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23968== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23968== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23968== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23968== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23968== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968==
{
<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 ==23968== Invalid read of size 8
==23968== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23968== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Address 0x83d2d98 is 8 bytes inside a block of size 96 free'd
==23968== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23968== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23968== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23968== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23968== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23968== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23968== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23968== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Block was alloc'd at
==23968== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23968== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23968== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23968== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23968== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23968== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23968== Invalid read of size 8
==23968== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23968== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23968== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Address 0x83d2d98 is 8 bytes inside a block of size 96 free'd
==23968== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23968== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23968== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23968== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23968== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23968== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23968== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23968== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Block was alloc'd at
==23968== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23968== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23968== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23968== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23968== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23968== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968==
{
<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 ==23968== Invalid read of size 8
==23968== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23968== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23968== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Address 0x83d2c10 is 0 bytes inside a block of size 80 free'd
==23968== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23968== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23968== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23968== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23968== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23968== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23968== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23968== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Block was alloc'd at
==23968== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23968== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23968== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23968== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23968== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968==
{
<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 ==23968== Invalid read of size 8
==23968== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==23968== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23968== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23968== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Address 0x83d2c20 is 16 bytes inside a block of size 80 free'd
==23968== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23968== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23968== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23968== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23968== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23968== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23968== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23968== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Block was alloc'd at
==23968== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23968== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23968== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23968== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23968== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23968== Invalid read of size 8
==23968== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==23968== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23968== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23968== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Address 0x83d2c10 is 0 bytes inside a block of size 80 free'd
==23968== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23968== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23968== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23968== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23968== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23968== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23968== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23968== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Block was alloc'd at
==23968== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23968== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23968== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23968== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23968== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23968== Invalid read of size 8
==23968== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==23968== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23968== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23968== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Address 0x83d2c10 is 0 bytes inside a block of size 80 free'd
==23968== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23968== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23968== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23968== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23968== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23968== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23968== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23968== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Block was alloc'd at
==23968== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23968== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23968== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23968== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23968== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23968== Invalid read of size 8
==23968== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==23968== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23968== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23968== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Address 0x83d2c40 is 48 bytes inside a block of size 80 free'd
==23968== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23968== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23968== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23968== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23968== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23968== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23968== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23968== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Block was alloc'd at
==23968== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23968== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23968== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23968== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23968== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23968== Invalid read of size 8
==23968== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==23968== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23968== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23968== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Address 0x83d2c28 is 24 bytes inside a block of size 80 free'd
==23968== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23968== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23968== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23968== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23968== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23968== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23968== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23968== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Block was alloc'd at
==23968== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23968== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23968== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23968== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23968== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23968== Invalid read of size 8
==23968== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==23968== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23968== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23968== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Address 0x83d2c18 is 8 bytes inside a block of size 80 free'd
==23968== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23968== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23968== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23968== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23968== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23968== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23968== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23968== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Block was alloc'd at
==23968== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23968== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23968== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23968== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23968== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23968== Invalid read of size 8
==23968== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==23968== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23968== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23968== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Address 0x83d2c18 is 8 bytes inside a block of size 80 free'd
==23968== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23968== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23968== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23968== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23968== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23968== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23968== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23968== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Block was alloc'd at
==23968== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23968== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23968== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23968== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23968== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23968== Invalid read of size 8
==23968== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==23968== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23968== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23968== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Address 0x83d2c58 is 72 bytes inside a block of size 80 free'd
==23968== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23968== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23968== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23968== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23968== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23968== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23968== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23968== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23968== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23968== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23968== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23968== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968== Block was alloc'd at
==23968== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23968== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23968== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23968== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23968== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23968== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23968== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23968== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23968== by 0x41B70E: main (nginx.c:364)
==23968==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23990== Invalid read of size 8
==23990== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23990== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Address 0x83d3210 is 32 bytes inside a block of size 96 free'd
==23990== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23990== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23990== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23990== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23990== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23990== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23990== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23990== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Block was alloc'd at
==23990== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23990== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23990== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23990== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23990== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23990== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23990== Invalid read of size 8
==23990== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==23990== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Address 0x83d33d0 is 96 bytes inside a block of size 104 free'd
==23990== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23990== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23990== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23990== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23990== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23990== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23990== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23990== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Block was alloc'd at
==23990== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23990== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23990== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23990== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23990== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23990== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23990== Invalid read of size 8
==23990== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==23990== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Address 0x83d34c0 is 80 bytes inside a block of size 368 free'd
==23990== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23990== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23990== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23990== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23990== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23990== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23990== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23990== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Block was alloc'd at
==23990== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23990== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23990== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23990== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23990== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23990== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23990== Invalid read of size 8
==23990== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==23990== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==23990== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Address 0x83d34f0 is 128 bytes inside a block of size 368 free'd
==23990== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23990== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23990== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23990== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23990== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23990== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23990== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23990== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Block was alloc'd at
==23990== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23990== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23990== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23990== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23990== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==23990== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990==
{
<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 ==23990== Invalid read of size 8
==23990== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==23990== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Address 0x83d31f8 is 8 bytes inside a block of size 96 free'd
==23990== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23990== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23990== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23990== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23990== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23990== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23990== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23990== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Block was alloc'd at
==23990== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23990== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23990== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23990== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23990== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23990== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23990== Invalid read of size 8
==23990== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==23990== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23990== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Address 0x83d31f8 is 8 bytes inside a block of size 96 free'd
==23990== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23990== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23990== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23990== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23990== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23990== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23990== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23990== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Block was alloc'd at
==23990== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23990== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23990== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23990== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23990== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==23990== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990==
{
<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 ==23990== Invalid read of size 8
==23990== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23990== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23990== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Address 0x83d3070 is 0 bytes inside a block of size 80 free'd
==23990== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23990== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23990== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23990== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23990== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23990== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23990== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23990== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Block was alloc'd at
==23990== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23990== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23990== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23990== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23990== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990==
{
<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 ==23990== Invalid read of size 8
==23990== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==23990== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23990== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23990== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Address 0x83d3080 is 16 bytes inside a block of size 80 free'd
==23990== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23990== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23990== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23990== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23990== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23990== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23990== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23990== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Block was alloc'd at
==23990== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23990== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23990== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23990== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23990== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23990== Invalid read of size 8
==23990== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==23990== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23990== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23990== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Address 0x83d3070 is 0 bytes inside a block of size 80 free'd
==23990== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23990== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23990== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23990== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23990== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23990== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23990== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23990== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Block was alloc'd at
==23990== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23990== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23990== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23990== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23990== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23990== Invalid read of size 8
==23990== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==23990== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23990== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23990== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Address 0x83d3070 is 0 bytes inside a block of size 80 free'd
==23990== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23990== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23990== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23990== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23990== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23990== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23990== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23990== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Block was alloc'd at
==23990== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23990== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23990== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23990== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23990== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23990== Invalid read of size 8
==23990== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==23990== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23990== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23990== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Address 0x83d30a0 is 48 bytes inside a block of size 80 free'd
==23990== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23990== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23990== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23990== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23990== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23990== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23990== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23990== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Block was alloc'd at
==23990== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23990== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23990== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23990== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23990== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23990== Invalid read of size 8
==23990== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==23990== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23990== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23990== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Address 0x83d3088 is 24 bytes inside a block of size 80 free'd
==23990== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23990== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23990== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23990== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23990== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23990== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23990== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23990== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Block was alloc'd at
==23990== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23990== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23990== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23990== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23990== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23990== Invalid read of size 8
==23990== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==23990== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23990== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23990== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Address 0x83d3078 is 8 bytes inside a block of size 80 free'd
==23990== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23990== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23990== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23990== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23990== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23990== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23990== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23990== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Block was alloc'd at
==23990== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23990== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23990== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23990== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23990== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23990== Invalid read of size 8
==23990== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==23990== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23990== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23990== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Address 0x83d3078 is 8 bytes inside a block of size 80 free'd
==23990== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23990== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23990== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23990== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23990== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23990== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23990== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23990== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Block was alloc'd at
==23990== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23990== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23990== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23990== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23990== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==23990== Invalid read of size 8
==23990== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==23990== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==23990== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==23990== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Address 0x83d30b8 is 72 bytes inside a block of size 80 free'd
==23990== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==23990== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==23990== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==23990== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==23990== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==23990== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==23990== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==23990== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==23990== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==23990== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==23990== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==23990== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990== Block was alloc'd at
==23990== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==23990== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==23990== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==23990== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==23990== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==23990== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==23990== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==23990== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==23990== by 0x41B70E: main (nginx.c:364)
==23990==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24005== Invalid read of size 8
==24005== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24005== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Address 0x83d2c00 is 32 bytes inside a block of size 96 free'd
==24005== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24005== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24005== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24005== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24005== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24005== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24005== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24005== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Block was alloc'd at
==24005== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24005== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24005== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24005== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24005== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24005== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24005== Invalid read of size 8
==24005== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24005== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Address 0x83d2dc0 is 96 bytes inside a block of size 104 free'd
==24005== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24005== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24005== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24005== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24005== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24005== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24005== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24005== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Block was alloc'd at
==24005== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24005== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24005== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24005== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24005== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24005== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24005== Invalid read of size 8
==24005== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24005== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Address 0x83d2eb0 is 80 bytes inside a block of size 368 free'd
==24005== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24005== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24005== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24005== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24005== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24005== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24005== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24005== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Block was alloc'd at
==24005== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24005== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24005== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24005== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24005== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24005== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24005== Invalid read of size 8
==24005== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24005== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24005== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Address 0x83d2ee0 is 128 bytes inside a block of size 368 free'd
==24005== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24005== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24005== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24005== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24005== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24005== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24005== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24005== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Block was alloc'd at
==24005== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24005== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24005== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24005== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24005== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24005== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005==
{
<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 ==24005== Invalid read of size 8
==24005== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24005== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Address 0x83d2be8 is 8 bytes inside a block of size 96 free'd
==24005== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24005== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24005== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24005== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24005== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24005== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24005== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24005== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Block was alloc'd at
==24005== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24005== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24005== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24005== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24005== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24005== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24005== Invalid read of size 8
==24005== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24005== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24005== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Address 0x83d2be8 is 8 bytes inside a block of size 96 free'd
==24005== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24005== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24005== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24005== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24005== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24005== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24005== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24005== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Block was alloc'd at
==24005== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24005== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24005== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24005== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24005== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24005== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005==
{
<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 ==24005== Invalid read of size 8
==24005== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24005== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24005== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Address 0x83d2a60 is 0 bytes inside a block of size 80 free'd
==24005== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24005== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24005== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24005== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24005== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24005== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24005== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24005== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Block was alloc'd at
==24005== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24005== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24005== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24005== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24005== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005==
{
<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 ==24005== Invalid read of size 8
==24005== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==24005== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24005== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24005== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Address 0x83d2a70 is 16 bytes inside a block of size 80 free'd
==24005== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24005== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24005== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24005== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24005== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24005== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24005== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24005== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Block was alloc'd at
==24005== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24005== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24005== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24005== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24005== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24005== Invalid read of size 8
==24005== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==24005== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24005== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24005== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Address 0x83d2a60 is 0 bytes inside a block of size 80 free'd
==24005== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24005== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24005== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24005== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24005== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24005== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24005== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24005== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Block was alloc'd at
==24005== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24005== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24005== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24005== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24005== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24005== Invalid read of size 8
==24005== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==24005== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24005== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24005== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Address 0x83d2a60 is 0 bytes inside a block of size 80 free'd
==24005== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24005== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24005== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24005== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24005== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24005== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24005== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24005== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Block was alloc'd at
==24005== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24005== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24005== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24005== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24005== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24005== Invalid read of size 8
==24005== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==24005== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24005== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24005== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Address 0x83d2a90 is 48 bytes inside a block of size 80 free'd
==24005== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24005== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24005== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24005== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24005== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24005== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24005== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24005== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Block was alloc'd at
==24005== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24005== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24005== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24005== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24005== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24005== Invalid read of size 8
==24005== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==24005== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24005== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24005== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Address 0x83d2a78 is 24 bytes inside a block of size 80 free'd
==24005== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24005== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24005== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24005== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24005== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24005== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24005== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24005== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Block was alloc'd at
==24005== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24005== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24005== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24005== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24005== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24005== Invalid read of size 8
==24005== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==24005== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24005== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24005== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Address 0x83d2a68 is 8 bytes inside a block of size 80 free'd
==24005== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24005== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24005== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24005== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24005== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24005== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24005== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24005== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Block was alloc'd at
==24005== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24005== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24005== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24005== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24005== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24005== Invalid read of size 8
==24005== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==24005== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24005== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24005== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Address 0x83d2a68 is 8 bytes inside a block of size 80 free'd
==24005== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24005== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24005== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24005== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24005== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24005== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24005== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24005== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Block was alloc'd at
==24005== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24005== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24005== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24005== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24005== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24005== Invalid read of size 8
==24005== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==24005== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24005== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24005== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Address 0x83d2aa8 is 72 bytes inside a block of size 80 free'd
==24005== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24005== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24005== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24005== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24005== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24005== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24005== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24005== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24005== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24005== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24005== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24005== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005== Block was alloc'd at
==24005== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24005== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24005== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24005== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24005== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24005== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24005== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24005== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24005== by 0x41B70E: main (nginx.c:364)
==24005==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_event_process_posted
fun:ngx_process_events_and_timers
fun:ngx_single_process_cycle
fun:main
}
094-uthread-exit.t TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - response_body - response is expected (repeated req 1, req 0) @@ -1,3 +1,4 @@
before
hello in thread
after
+failed to connect: connection refused
'
094-uthread-exit.t TEST 7: exit in user thread (entry thread is still pending on tcpsock:connect) - pattern "[error]" should not match any line in error.log but matches line "2016/10/30 01:42:35 [error] 24119\#0: *7 connect() failed (111: Connection refused) while handling client connection, client: 127.0.0.1, server: 0.0.0.0:1985" (req 1)
098-uthread-wait.t TEST 22: spawn and wait uthreads for many times ==24189== Invalid read of size 8
==24189== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24189== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Address 0x83bed90 is 32 bytes inside a block of size 96 free'd
==24189== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24189== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24189== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24189== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24189== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24189== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24189== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24189== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Block was alloc'd at
==24189== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24189== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24189== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24189== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24189== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24189== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24189== Invalid read of size 8
==24189== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24189== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Address 0x83bef50 is 96 bytes inside a block of size 104 free'd
==24189== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24189== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24189== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24189== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24189== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24189== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24189== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24189== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Block was alloc'd at
==24189== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24189== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24189== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24189== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24189== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24189== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24189== Invalid read of size 8
==24189== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24189== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Address 0x83bf040 is 80 bytes inside a block of size 368 free'd
==24189== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24189== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24189== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24189== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24189== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24189== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24189== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24189== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Block was alloc'd at
==24189== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24189== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24189== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24189== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24189== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24189== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24189== Invalid read of size 8
==24189== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24189== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24189== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Address 0x83bf070 is 128 bytes inside a block of size 368 free'd
==24189== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24189== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24189== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24189== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24189== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24189== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24189== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24189== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Block was alloc'd at
==24189== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24189== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24189== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24189== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24189== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24189== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189==
{
<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 ==24189== Invalid read of size 8
==24189== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24189== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Address 0x83bed78 is 8 bytes inside a block of size 96 free'd
==24189== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24189== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24189== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24189== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24189== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24189== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24189== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24189== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Block was alloc'd at
==24189== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24189== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24189== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24189== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24189== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24189== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24189== Invalid read of size 8
==24189== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24189== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24189== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Address 0x83bed78 is 8 bytes inside a block of size 96 free'd
==24189== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24189== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24189== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24189== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24189== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24189== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24189== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24189== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Block was alloc'd at
==24189== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24189== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24189== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24189== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24189== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24189== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189==
{
<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 ==24189== Invalid read of size 8
==24189== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24189== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24189== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Address 0x83bebf0 is 0 bytes inside a block of size 80 free'd
==24189== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24189== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24189== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24189== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24189== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24189== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24189== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24189== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Block was alloc'd at
==24189== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24189== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24189== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24189== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24189== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189==
{
<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 ==24189== Invalid read of size 8
==24189== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==24189== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24189== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24189== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Address 0x83bec00 is 16 bytes inside a block of size 80 free'd
==24189== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24189== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24189== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24189== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24189== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24189== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24189== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24189== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Block was alloc'd at
==24189== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24189== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24189== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24189== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24189== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24189== Invalid read of size 8
==24189== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==24189== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24189== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24189== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Address 0x83bebf0 is 0 bytes inside a block of size 80 free'd
==24189== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24189== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24189== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24189== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24189== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24189== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24189== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24189== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Block was alloc'd at
==24189== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24189== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24189== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24189== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24189== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24189== Invalid read of size 8
==24189== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==24189== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24189== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24189== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Address 0x83bebf0 is 0 bytes inside a block of size 80 free'd
==24189== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24189== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24189== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24189== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24189== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24189== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24189== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24189== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Block was alloc'd at
==24189== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24189== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24189== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24189== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24189== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24189== Invalid read of size 8
==24189== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==24189== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24189== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24189== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Address 0x83bec20 is 48 bytes inside a block of size 80 free'd
==24189== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24189== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24189== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24189== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24189== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24189== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24189== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24189== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Block was alloc'd at
==24189== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24189== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24189== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24189== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24189== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24189== Invalid read of size 8
==24189== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==24189== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24189== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24189== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Address 0x83bec08 is 24 bytes inside a block of size 80 free'd
==24189== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24189== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24189== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24189== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24189== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24189== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24189== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24189== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Block was alloc'd at
==24189== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24189== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24189== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24189== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24189== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24189== Invalid read of size 8
==24189== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==24189== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24189== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24189== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Address 0x83bebf8 is 8 bytes inside a block of size 80 free'd
==24189== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24189== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24189== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24189== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24189== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24189== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24189== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24189== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Block was alloc'd at
==24189== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24189== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24189== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24189== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24189== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24189== Invalid read of size 8
==24189== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==24189== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24189== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24189== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Address 0x83bebf8 is 8 bytes inside a block of size 80 free'd
==24189== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24189== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24189== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24189== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24189== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24189== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24189== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24189== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Block was alloc'd at
==24189== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24189== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24189== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24189== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24189== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24189== Invalid read of size 8
==24189== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==24189== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24189== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24189== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Address 0x83bec38 is 72 bytes inside a block of size 80 free'd
==24189== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24189== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24189== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24189== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24189== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24189== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24189== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24189== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24189== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24189== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24189== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24189== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189== Block was alloc'd at
==24189== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24189== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24189== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24189== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24189== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24189== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24189== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24189== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24189== by 0x41B70E: main (nginx.c:364)
==24189==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24233== Invalid read of size 8
==24233== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24233== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Address 0x83bf7e0 is 32 bytes inside a block of size 96 free'd
==24233== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24233== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24233== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24233== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24233== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24233== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24233== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24233== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Block was alloc'd at
==24233== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24233== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24233== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24233== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24233== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24233== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24233== Invalid read of size 8
==24233== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24233== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Address 0x83bf9a0 is 96 bytes inside a block of size 104 free'd
==24233== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24233== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24233== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24233== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24233== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24233== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24233== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24233== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Block was alloc'd at
==24233== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24233== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24233== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24233== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24233== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24233== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24233== Invalid read of size 8
==24233== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24233== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Address 0x83bfa90 is 80 bytes inside a block of size 368 free'd
==24233== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24233== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24233== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24233== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24233== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24233== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24233== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24233== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Block was alloc'd at
==24233== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24233== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24233== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24233== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24233== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24233== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24233== Invalid read of size 8
==24233== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24233== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24233== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Address 0x83bfac0 is 128 bytes inside a block of size 368 free'd
==24233== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24233== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24233== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24233== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24233== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24233== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24233== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24233== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Block was alloc'd at
==24233== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24233== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24233== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24233== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24233== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24233== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233==
{
<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 ==24233== Invalid read of size 8
==24233== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24233== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Address 0x83bf7c8 is 8 bytes inside a block of size 96 free'd
==24233== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24233== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24233== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24233== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24233== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24233== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24233== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24233== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Block was alloc'd at
==24233== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24233== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24233== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24233== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24233== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24233== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24233== Invalid read of size 8
==24233== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24233== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24233== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Address 0x83bf7c8 is 8 bytes inside a block of size 96 free'd
==24233== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24233== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24233== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24233== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24233== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24233== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24233== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24233== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Block was alloc'd at
==24233== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24233== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24233== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24233== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24233== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24233== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233==
{
<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 ==24233== Invalid read of size 8
==24233== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24233== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24233== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Address 0x83bf640 is 0 bytes inside a block of size 80 free'd
==24233== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24233== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24233== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24233== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24233== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24233== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24233== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24233== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Block was alloc'd at
==24233== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24233== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24233== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24233== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24233== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233==
{
<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 ==24233== Invalid read of size 8
==24233== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==24233== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24233== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24233== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Address 0x83bf650 is 16 bytes inside a block of size 80 free'd
==24233== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24233== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24233== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24233== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24233== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24233== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24233== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24233== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Block was alloc'd at
==24233== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24233== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24233== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24233== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24233== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24233== Invalid read of size 8
==24233== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==24233== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24233== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24233== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Address 0x83bf640 is 0 bytes inside a block of size 80 free'd
==24233== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24233== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24233== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24233== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24233== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24233== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24233== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24233== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Block was alloc'd at
==24233== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24233== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24233== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24233== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24233== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24233== Invalid read of size 8
==24233== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==24233== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24233== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24233== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Address 0x83bf640 is 0 bytes inside a block of size 80 free'd
==24233== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24233== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24233== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24233== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24233== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24233== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24233== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24233== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Block was alloc'd at
==24233== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24233== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24233== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24233== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24233== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24233== Invalid read of size 8
==24233== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==24233== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24233== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24233== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Address 0x83bf670 is 48 bytes inside a block of size 80 free'd
==24233== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24233== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24233== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24233== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24233== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24233== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24233== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24233== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Block was alloc'd at
==24233== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24233== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24233== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24233== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24233== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24233== Invalid read of size 8
==24233== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==24233== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24233== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24233== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Address 0x83bf658 is 24 bytes inside a block of size 80 free'd
==24233== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24233== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24233== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24233== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24233== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24233== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24233== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24233== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Block was alloc'd at
==24233== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24233== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24233== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24233== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24233== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24233== Invalid read of size 8
==24233== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==24233== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24233== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24233== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Address 0x83bf648 is 8 bytes inside a block of size 80 free'd
==24233== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24233== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24233== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24233== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24233== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24233== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24233== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24233== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Block was alloc'd at
==24233== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24233== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24233== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24233== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24233== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24233== Invalid read of size 8
==24233== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==24233== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24233== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24233== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Address 0x83bf648 is 8 bytes inside a block of size 80 free'd
==24233== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24233== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24233== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24233== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24233== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24233== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24233== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24233== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Block was alloc'd at
==24233== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24233== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24233== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24233== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24233== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24233== Invalid read of size 8
==24233== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==24233== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24233== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24233== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Address 0x83bf688 is 72 bytes inside a block of size 80 free'd
==24233== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24233== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24233== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24233== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24233== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24233== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24233== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24233== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24233== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24233== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24233== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24233== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233== Block was alloc'd at
==24233== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24233== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24233== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24233== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24233== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24233== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24233== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24233== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24233== by 0x41B70E: main (nginx.c:364)
==24233==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24255== Invalid read of size 8
==24255== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24255== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Address 0x83bebe0 is 32 bytes inside a block of size 96 free'd
==24255== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24255== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24255== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24255== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24255== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24255== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24255== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24255== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Block was alloc'd at
==24255== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24255== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24255== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24255== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24255== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24255== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24255== Invalid read of size 8
==24255== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24255== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Address 0x83beda0 is 96 bytes inside a block of size 104 free'd
==24255== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24255== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24255== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24255== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24255== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24255== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24255== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24255== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Block was alloc'd at
==24255== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24255== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24255== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24255== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24255== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24255== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24255== Invalid read of size 8
==24255== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24255== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Address 0x83bee90 is 80 bytes inside a block of size 368 free'd
==24255== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24255== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24255== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24255== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24255== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24255== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24255== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24255== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Block was alloc'd at
==24255== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24255== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24255== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24255== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24255== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24255== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24255== Invalid read of size 8
==24255== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24255== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24255== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Address 0x83beec0 is 128 bytes inside a block of size 368 free'd
==24255== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24255== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24255== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24255== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24255== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24255== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24255== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24255== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Block was alloc'd at
==24255== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24255== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24255== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24255== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24255== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24255== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255==
{
<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 ==24255== Invalid read of size 8
==24255== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24255== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Address 0x83bebc8 is 8 bytes inside a block of size 96 free'd
==24255== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24255== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24255== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24255== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24255== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24255== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24255== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24255== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Block was alloc'd at
==24255== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24255== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24255== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24255== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24255== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24255== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24255== Invalid read of size 8
==24255== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24255== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24255== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Address 0x83bebc8 is 8 bytes inside a block of size 96 free'd
==24255== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24255== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24255== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24255== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24255== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24255== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24255== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24255== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Block was alloc'd at
==24255== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24255== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24255== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24255== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24255== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24255== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255==
{
<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 ==24255== Invalid read of size 8
==24255== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24255== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24255== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Address 0x83bea40 is 0 bytes inside a block of size 80 free'd
==24255== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24255== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24255== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24255== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24255== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24255== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24255== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24255== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Block was alloc'd at
==24255== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24255== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24255== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24255== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24255== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255==
{
<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 ==24255== Invalid read of size 8
==24255== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==24255== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24255== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24255== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Address 0x83bea50 is 16 bytes inside a block of size 80 free'd
==24255== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24255== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24255== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24255== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24255== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24255== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24255== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24255== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Block was alloc'd at
==24255== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24255== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24255== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24255== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24255== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24255== Invalid read of size 8
==24255== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==24255== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24255== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24255== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Address 0x83bea40 is 0 bytes inside a block of size 80 free'd
==24255== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24255== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24255== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24255== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24255== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24255== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24255== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24255== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Block was alloc'd at
==24255== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24255== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24255== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24255== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24255== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24255== Invalid read of size 8
==24255== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==24255== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24255== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24255== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Address 0x83bea40 is 0 bytes inside a block of size 80 free'd
==24255== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24255== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24255== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24255== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24255== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24255== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24255== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24255== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Block was alloc'd at
==24255== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24255== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24255== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24255== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24255== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24255== Invalid read of size 8
==24255== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==24255== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24255== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24255== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Address 0x83bea70 is 48 bytes inside a block of size 80 free'd
==24255== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24255== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24255== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24255== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24255== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24255== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24255== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24255== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Block was alloc'd at
==24255== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24255== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24255== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24255== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24255== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24255== Invalid read of size 8
==24255== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==24255== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24255== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24255== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Address 0x83bea58 is 24 bytes inside a block of size 80 free'd
==24255== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24255== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24255== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24255== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24255== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24255== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24255== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24255== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Block was alloc'd at
==24255== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24255== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24255== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24255== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24255== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24255== Invalid read of size 8
==24255== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==24255== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24255== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24255== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Address 0x83bea48 is 8 bytes inside a block of size 80 free'd
==24255== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24255== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24255== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24255== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24255== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24255== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24255== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24255== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Block was alloc'd at
==24255== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24255== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24255== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24255== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24255== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24255== Invalid read of size 8
==24255== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==24255== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24255== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24255== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Address 0x83bea48 is 8 bytes inside a block of size 80 free'd
==24255== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24255== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24255== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24255== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24255== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24255== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24255== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24255== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Block was alloc'd at
==24255== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24255== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24255== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24255== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24255== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24255== Invalid read of size 8
==24255== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==24255== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24255== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24255== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Address 0x83bea88 is 72 bytes inside a block of size 80 free'd
==24255== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24255== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24255== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24255== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24255== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24255== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24255== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24255== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24255== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24255== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24255== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24255== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255== Block was alloc'd at
==24255== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24255== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24255== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24255== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24255== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24255== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24255== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24255== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24255== by 0x41B70E: main (nginx.c:364)
==24255==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24266== Invalid read of size 8
==24266== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24266== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Address 0x83bee20 is 32 bytes inside a block of size 96 free'd
==24266== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24266== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24266== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24266== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24266== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24266== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24266== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24266== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Block was alloc'd at
==24266== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24266== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24266== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24266== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24266== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24266== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24266== Invalid read of size 8
==24266== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24266== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Address 0x83befe0 is 96 bytes inside a block of size 104 free'd
==24266== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24266== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24266== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24266== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24266== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24266== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24266== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24266== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Block was alloc'd at
==24266== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24266== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24266== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24266== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24266== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24266== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24266== Invalid read of size 8
==24266== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24266== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Address 0x83bf0d0 is 80 bytes inside a block of size 368 free'd
==24266== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24266== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24266== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24266== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24266== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24266== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24266== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24266== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Block was alloc'd at
==24266== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24266== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24266== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24266== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24266== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24266== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24266== Invalid read of size 8
==24266== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24266== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24266== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Address 0x83bf100 is 128 bytes inside a block of size 368 free'd
==24266== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24266== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24266== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24266== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24266== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24266== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24266== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24266== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Block was alloc'd at
==24266== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24266== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24266== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24266== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24266== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24266== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266==
{
<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 ==24266== Invalid read of size 8
==24266== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24266== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Address 0x83bee08 is 8 bytes inside a block of size 96 free'd
==24266== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24266== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24266== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24266== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24266== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24266== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24266== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24266== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Block was alloc'd at
==24266== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24266== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24266== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24266== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24266== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24266== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24266== Invalid read of size 8
==24266== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24266== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24266== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Address 0x83bee08 is 8 bytes inside a block of size 96 free'd
==24266== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24266== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24266== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24266== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24266== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24266== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24266== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24266== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Block was alloc'd at
==24266== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24266== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24266== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24266== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24266== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24266== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266==
{
<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 ==24266== Invalid read of size 8
==24266== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24266== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24266== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Address 0x83bec80 is 0 bytes inside a block of size 80 free'd
==24266== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24266== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24266== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24266== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24266== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24266== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24266== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24266== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Block was alloc'd at
==24266== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24266== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24266== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24266== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24266== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266==
{
<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 ==24266== Invalid read of size 8
==24266== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==24266== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24266== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24266== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Address 0x83bec90 is 16 bytes inside a block of size 80 free'd
==24266== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24266== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24266== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24266== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24266== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24266== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24266== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24266== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Block was alloc'd at
==24266== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24266== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24266== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24266== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24266== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24266== Invalid read of size 8
==24266== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==24266== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24266== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24266== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Address 0x83bec80 is 0 bytes inside a block of size 80 free'd
==24266== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24266== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24266== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24266== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24266== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24266== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24266== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24266== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Block was alloc'd at
==24266== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24266== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24266== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24266== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24266== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24266== Invalid read of size 8
==24266== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==24266== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24266== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24266== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Address 0x83bec80 is 0 bytes inside a block of size 80 free'd
==24266== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24266== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24266== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24266== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24266== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24266== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24266== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24266== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Block was alloc'd at
==24266== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24266== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24266== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24266== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24266== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24266== Invalid read of size 8
==24266== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==24266== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24266== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24266== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Address 0x83becb0 is 48 bytes inside a block of size 80 free'd
==24266== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24266== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24266== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24266== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24266== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24266== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24266== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24266== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Block was alloc'd at
==24266== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24266== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24266== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24266== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24266== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24266== Invalid read of size 8
==24266== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==24266== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24266== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24266== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Address 0x83bec98 is 24 bytes inside a block of size 80 free'd
==24266== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24266== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24266== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24266== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24266== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24266== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24266== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24266== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Block was alloc'd at
==24266== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24266== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24266== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24266== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24266== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24266== Invalid read of size 8
==24266== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==24266== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24266== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24266== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Address 0x83bec88 is 8 bytes inside a block of size 80 free'd
==24266== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24266== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24266== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24266== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24266== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24266== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24266== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24266== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Block was alloc'd at
==24266== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24266== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24266== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24266== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24266== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24266== Invalid read of size 8
==24266== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==24266== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24266== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24266== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Address 0x83bec88 is 8 bytes inside a block of size 80 free'd
==24266== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24266== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24266== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24266== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24266== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24266== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24266== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24266== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Block was alloc'd at
==24266== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24266== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24266== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24266== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24266== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24266== Invalid read of size 8
==24266== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==24266== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24266== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24266== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Address 0x83becc8 is 72 bytes inside a block of size 80 free'd
==24266== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24266== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24266== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24266== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24266== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24266== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24266== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24266== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24266== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24266== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24266== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24266== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266== Block was alloc'd at
==24266== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24266== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24266== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24266== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24266== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24266== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24266== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24266== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24266== by 0x41B70E: main (nginx.c:364)
==24266==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24277== Invalid read of size 8
==24277== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24277== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Address 0x83bf7f0 is 32 bytes inside a block of size 96 free'd
==24277== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24277== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24277== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24277== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24277== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24277== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24277== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24277== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Block was alloc'd at
==24277== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24277== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24277== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24277== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24277== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24277== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24277== Invalid read of size 8
==24277== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24277== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Address 0x83bf9b0 is 96 bytes inside a block of size 104 free'd
==24277== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24277== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24277== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24277== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24277== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24277== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24277== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24277== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Block was alloc'd at
==24277== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24277== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24277== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24277== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24277== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24277== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24277== Invalid read of size 8
==24277== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24277== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Address 0x83bfaa0 is 80 bytes inside a block of size 368 free'd
==24277== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24277== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24277== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24277== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24277== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24277== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24277== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24277== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Block was alloc'd at
==24277== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24277== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24277== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24277== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24277== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24277== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24277== Invalid read of size 8
==24277== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24277== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24277== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Address 0x83bfad0 is 128 bytes inside a block of size 368 free'd
==24277== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24277== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24277== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24277== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24277== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24277== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24277== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24277== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Block was alloc'd at
==24277== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24277== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24277== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24277== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24277== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24277== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277==
{
<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 ==24277== Invalid read of size 8
==24277== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24277== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Address 0x83bf7d8 is 8 bytes inside a block of size 96 free'd
==24277== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24277== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24277== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24277== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24277== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24277== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24277== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24277== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Block was alloc'd at
==24277== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24277== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24277== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24277== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24277== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24277== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24277== Invalid read of size 8
==24277== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24277== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24277== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Address 0x83bf7d8 is 8 bytes inside a block of size 96 free'd
==24277== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24277== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24277== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24277== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24277== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24277== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24277== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24277== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Block was alloc'd at
==24277== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24277== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24277== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24277== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24277== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24277== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277==
{
<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 ==24277== Invalid read of size 8
==24277== at 0x4F5B61: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24277== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24277== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Address 0x83bf650 is 0 bytes inside a block of size 80 free'd
==24277== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24277== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24277== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24277== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24277== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24277== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24277== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24277== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Block was alloc'd at
==24277== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24277== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24277== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24277== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24277== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277==
{
<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 ==24277== Invalid read of size 8
==24277== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==24277== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24277== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24277== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Address 0x83bf660 is 16 bytes inside a block of size 80 free'd
==24277== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24277== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24277== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24277== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24277== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24277== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24277== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24277== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Block was alloc'd at
==24277== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24277== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24277== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24277== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24277== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24277== Invalid read of size 8
==24277== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==24277== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24277== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24277== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Address 0x83bf650 is 0 bytes inside a block of size 80 free'd
==24277== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24277== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24277== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24277== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24277== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24277== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24277== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24277== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Block was alloc'd at
==24277== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24277== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24277== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24277== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24277== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24277== Invalid read of size 8
==24277== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==24277== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24277== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24277== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Address 0x83bf650 is 0 bytes inside a block of size 80 free'd
==24277== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24277== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24277== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24277== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24277== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24277== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24277== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24277== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Block was alloc'd at
==24277== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24277== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24277== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24277== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24277== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24277== Invalid read of size 8
==24277== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==24277== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24277== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24277== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Address 0x83bf680 is 48 bytes inside a block of size 80 free'd
==24277== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24277== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24277== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24277== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24277== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24277== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24277== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24277== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Block was alloc'd at
==24277== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24277== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24277== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24277== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24277== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24277== Invalid read of size 8
==24277== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==24277== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24277== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24277== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Address 0x83bf668 is 24 bytes inside a block of size 80 free'd
==24277== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24277== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24277== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24277== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24277== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24277== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24277== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24277== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Block was alloc'd at
==24277== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24277== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24277== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24277== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24277== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24277== Invalid read of size 8
==24277== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==24277== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24277== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24277== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Address 0x83bf658 is 8 bytes inside a block of size 80 free'd
==24277== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24277== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24277== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24277== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24277== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24277== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24277== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24277== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Block was alloc'd at
==24277== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24277== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24277== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24277== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24277== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24277== Invalid read of size 8
==24277== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==24277== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24277== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24277== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Address 0x83bf658 is 8 bytes inside a block of size 80 free'd
==24277== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24277== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24277== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24277== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24277== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24277== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24277== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24277== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Block was alloc'd at
==24277== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24277== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24277== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24277== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24277== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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 ==24277== Invalid read of size 8
==24277== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==24277== by 0x4F5B85: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==24277== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24277== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Address 0x83bf698 is 72 bytes inside a block of size 80 free'd
==24277== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24277== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24277== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24277== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24277== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24277== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24277== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24277== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24277== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24277== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24277== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24277== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277== Block was alloc'd at
==24277== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24277== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24277== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24277== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24277== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==24277== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24277== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24277== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24277== by 0x41B70E: main (nginx.c:364)
==24277==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==24310== Invalid read of size 8
==24310== at 0x4F7A62: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24310== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24310== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24310== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310== Address 0x83bed90 is 32 bytes inside a block of size 96 free'd
==24310== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24310== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24310== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24310== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24310== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24310== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24310== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24310== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24310== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24310== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24310== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24310== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310== Block was alloc'd at
==24310== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24310== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24310== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24310== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24310== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24310== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==24310== Invalid read of size 8
==24310== at 0x4F7A6D: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==24310== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24310== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24310== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310== Address 0x83bef50 is 96 bytes inside a block of size 104 free'd
==24310== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24310== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24310== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24310== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24310== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24310== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24310== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24310== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24310== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24310== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24310== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24310== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310== Block was alloc'd at
==24310== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24310== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24310== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24310== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24310== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24310== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==24310== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==24310== Invalid read of size 8
==24310== at 0x4F7A76: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==24310== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24310== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24310== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310== Address 0x83bf040 is 80 bytes inside a block of size 368 free'd
==24310== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24310== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24310== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24310== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24310== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24310== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24310== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24310== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24310== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24310== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24310== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24310== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310== Block was alloc'd at
==24310== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24310== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24310== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24310== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24310== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24310== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24310== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24310== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==24310== Invalid read of size 8
==24310== at 0x4F7A7F: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==24310== by 0x4F7A7F: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==24310== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24310== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24310== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310== Address 0x83bf070 is 128 bytes inside a block of size 368 free'd
==24310== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24310== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24310== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24310== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24310== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24310== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24310== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24310== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24310== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24310== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24310== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24310== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310== Block was alloc'd at
==24310== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24310== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24310== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24310== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24310== by 0x4F43A9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==24310== by 0x4F43A9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==24310== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24310== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310==
{
<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) ==24310== Invalid read of size 8
==24310== at 0x4F7A95: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==24310== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24310== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24310== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310== Address 0x83bed78 is 8 bytes inside a block of size 96 free'd
==24310== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24310== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24310== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24310== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24310== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24310== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24310== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24310== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24310== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24310== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24310== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24310== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310== Block was alloc'd at
==24310== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24310== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24310== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24310== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24310== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24310== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_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) ==24310== Invalid read of size 8
==24310== at 0x4F5B59: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==24310== by 0x4F8003: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==24310== by 0x4F455D: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24310== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24310== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310== Address 0x83bed78 is 8 bytes inside a block of size 96 free'd
==24310== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==24310== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==24310== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==24310== by 0x4F77C6: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==24310== by 0x4F7FF6: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==24310== by 0x4F7FF6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==24310== by 0x4F80C4: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==24310== by 0x4F4173: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==24310== by 0x4F4232: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==24310== by 0x4F4552: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==24310== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==24310== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310== Block was alloc'd at
==24310== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==24310== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==24310== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==24310== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==24310== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==24310== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==24310== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==24310== by 0x43A90C: ngx_event_process_posted (ngx_event_posted.c:33)
==24310== by 0x43A3AC: ngx_process_events_and_timers (ngx_event.c:249)
==24310== by 0x442F44: ngx_single_process_cycle (ngx_process_cycle.c:309)
==24310== by 0x41B70E: main (nginx.c:364)
==24310==
{
<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
}