(This page was automatically generated by the tools in the opsboy project on 17:39:23 26-Mar-2017 GMT.)

Detailed Test Report for ngx_stream_lua in linux x86_64 (hv)

Summary

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

LuaJIT

LuaJIT 2.1.0-beta2, commit e244b1d

Compilation Errors

Unexpected Failures

File Name Details
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==17637== Invalid read of size 8
==17637== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Address 0x83f8860 is 32 bytes inside a block of size 96 free'd
==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Block was alloc'd at
==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17637== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17637== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==17637== Invalid read of size 8
==17637== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Address 0x83f8a20 is 96 bytes inside a block of size 104 free'd
==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Block was alloc'd at
==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17637== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17637== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==17637== Invalid read of size 8
==17637== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Address 0x83f8b10 is 80 bytes inside a block of size 368 free'd
==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Block was alloc'd at
==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17637== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17637== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==17637== Invalid read of size 8
==17637== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==17637== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Address 0x83f8b40 is 128 bytes inside a block of size 368 free'd
==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Block was alloc'd at
==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17637== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17637== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==17637== Invalid read of size 8
==17637== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Address 0x83f8848 is 8 bytes inside a block of size 96 free'd
==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Block was alloc'd at
==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17637== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17637== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==17637== Invalid read of size 8
==17637== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Address 0x83f8848 is 8 bytes inside a block of size 96 free'd
==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Block was alloc'd at
==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17637== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17637== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==17637== Invalid read of size 8
==17637== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Address 0x83f86c0 is 0 bytes inside a block of size 80 free'd
==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Block was alloc'd at
==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==17637== Invalid read of size 8
==17637== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==17637== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Address 0x83f86d0 is 16 bytes inside a block of size 80 free'd
==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Block was alloc'd at
==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==17637== Invalid read of size 8
==17637== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==17637== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Address 0x83f86c0 is 0 bytes inside a block of size 80 free'd
==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Block was alloc'd at
==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==17637== Invalid read of size 8
==17637== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==17637== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Address 0x83f86c0 is 0 bytes inside a block of size 80 free'd
==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Block was alloc'd at
==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==17637== Invalid read of size 8
==17637== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==17637== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Address 0x83f86f0 is 48 bytes inside a block of size 80 free'd
==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Block was alloc'd at
==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==17637== Invalid read of size 8
==17637== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==17637== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Address 0x83f86d8 is 24 bytes inside a block of size 80 free'd
==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Block was alloc'd at
==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==17637== Invalid read of size 8
==17637== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==17637== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Address 0x83f86c8 is 8 bytes inside a block of size 80 free'd
==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Block was alloc'd at
==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==17637== Invalid read of size 8
==17637== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==17637== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Address 0x83f86c8 is 8 bytes inside a block of size 80 free'd
==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Block was alloc'd at
==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 2: two simple user threads without I/O ==17637== Invalid read of size 8
==17637== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==17637== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17637== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17637== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Address 0x83f8708 is 72 bytes inside a block of size 80 free'd
==17637== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17637== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17637== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17637== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17637== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17637== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17637== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17637== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17637== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17637== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17637== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17637== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17637== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637== Block was alloc'd at
==17637== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17637== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17637== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17637== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17637== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17637== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17637== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17637== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17637== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17637== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17637== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==17637== by 0x41B71D: main (nginx.c:367)
==17637==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==17686== Invalid read of size 8
==17686== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Address 0x8e7d320 is 32 bytes inside a block of size 96 free'd
==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Block was alloc'd at
==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17686== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17686== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==17686== Invalid read of size 8
==17686== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Address 0x8e7d440 is 96 bytes inside a block of size 104 free'd
==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Block was alloc'd at
==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17686== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17686== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==17686== Invalid read of size 8
==17686== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Address 0x8e7d4e0 is 80 bytes inside a block of size 368 free'd
==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Block was alloc'd at
==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17686== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17686== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==17686== Invalid read of size 8
==17686== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==17686== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Address 0x8e7e998 is 200 bytes inside a block of size 672 free'd
==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Block was alloc'd at
==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17686== by 0x41D445: ngx_list_init (ngx_list.h:39)
==17686== by 0x41D445: ngx_list_create (ngx_list.c:22)
==17686== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==17686== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==17686== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==17686== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==17686== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==17686== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==17686== Invalid read of size 8
==17686== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Address 0x8e7d308 is 8 bytes inside a block of size 96 free'd
==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Block was alloc'd at
==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17686== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17686== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==17686== Invalid read of size 8
==17686== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Address 0x8e7d308 is 8 bytes inside a block of size 96 free'd
==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Block was alloc'd at
==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17686== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17686== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==17686== Invalid read of size 8
==17686== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Address 0x8e7d220 is 0 bytes inside a block of size 80 free'd
==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Block was alloc'd at
==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==17686== Invalid read of size 8
==17686== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==17686== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Address 0x8e7d230 is 16 bytes inside a block of size 80 free'd
==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Block was alloc'd at
==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==17686== Invalid read of size 8
==17686== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==17686== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Address 0x8e7d220 is 0 bytes inside a block of size 80 free'd
==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Block was alloc'd at
==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==17686== Invalid read of size 8
==17686== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==17686== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Address 0x8e7d220 is 0 bytes inside a block of size 80 free'd
==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Block was alloc'd at
==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==17686== Invalid read of size 8
==17686== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==17686== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Address 0x8e7d250 is 48 bytes inside a block of size 80 free'd
==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Block was alloc'd at
==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==17686== Invalid read of size 8
==17686== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==17686== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Address 0x8e7d238 is 24 bytes inside a block of size 80 free'd
==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Block was alloc'd at
==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==17686== Invalid read of size 8
==17686== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==17686== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Address 0x8e7d228 is 8 bytes inside a block of size 80 free'd
==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Block was alloc'd at
==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==17686== Invalid read of size 8
==17686== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==17686== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Address 0x8e7d228 is 8 bytes inside a block of size 80 free'd
==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Block was alloc'd at
==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 13: manual time slicing between two user threads ==17686== Invalid read of size 8
==17686== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==17686== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17686== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17686== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Address 0x8e7d268 is 72 bytes inside a block of size 80 free'd
==17686== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17686== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17686== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17686== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17686== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17686== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17686== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17686== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17686== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17686== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17686== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17686== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17686== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686== Block was alloc'd at
==17686== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17686== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17686== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17686== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17686== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17686== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17686== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17686== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17686== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17686== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17686== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17686== by 0x41B71D: main (nginx.c:367)
==17686==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==17706== Invalid read of size 8
==17706== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Address 0x91f79d0 is 32 bytes inside a block of size 96 free'd
==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Block was alloc'd at
==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17706== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17706== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==17706== Invalid read of size 8
==17706== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Address 0x8fbbf00 is 96 bytes inside a block of size 104 free'd
==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Block was alloc'd at
==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17706== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17706== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==17706== Invalid read of size 8
==17706== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Address 0x8fbbfa0 is 80 bytes inside a block of size 368 free'd
==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Block was alloc'd at
==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17706== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17706== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==17706== Invalid read of size 8
==17706== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==17706== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Address 0x8fbbfd0 is 128 bytes inside a block of size 368 free'd
==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Block was alloc'd at
==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17706== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17706== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==17706== Invalid read of size 8
==17706== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Address 0x91f79b8 is 8 bytes inside a block of size 96 free'd
==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Block was alloc'd at
==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17706== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17706== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==17706== Invalid read of size 8
==17706== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Address 0x91f79b8 is 8 bytes inside a block of size 96 free'd
==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Block was alloc'd at
==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17706== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17706== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==17706== Invalid read of size 8
==17706== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Address 0x91f78d0 is 0 bytes inside a block of size 80 free'd
==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Block was alloc'd at
==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==17706== Invalid read of size 8
==17706== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==17706== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Address 0x91f78e0 is 16 bytes inside a block of size 80 free'd
==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Block was alloc'd at
==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==17706== Invalid read of size 8
==17706== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==17706== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Address 0x91f78d0 is 0 bytes inside a block of size 80 free'd
==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Block was alloc'd at
==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==17706== Invalid read of size 8
==17706== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==17706== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Address 0x91f78d0 is 0 bytes inside a block of size 80 free'd
==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Block was alloc'd at
==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==17706== Invalid read of size 8
==17706== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==17706== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Address 0x91f7900 is 48 bytes inside a block of size 80 free'd
==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Block was alloc'd at
==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==17706== Invalid read of size 8
==17706== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==17706== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Address 0x91f78e8 is 24 bytes inside a block of size 80 free'd
==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Block was alloc'd at
==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==17706== Invalid read of size 8
==17706== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==17706== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Address 0x91f78d8 is 8 bytes inside a block of size 80 free'd
==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Block was alloc'd at
==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==17706== Invalid read of size 8
==17706== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==17706== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Address 0x91f78d8 is 8 bytes inside a block of size 80 free'd
==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Block was alloc'd at
==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 11: creating user threads in a user coroutine ==17706== Invalid read of size 8
==17706== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==17706== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17706== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17706== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Address 0x91f7918 is 72 bytes inside a block of size 80 free'd
==17706== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17706== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17706== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17706== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17706== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17706== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17706== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17706== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17706== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17706== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17706== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17706== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17706== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706== Block was alloc'd at
==17706== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17706== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17706== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17706== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17706== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17706== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17706== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17706== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17706== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17706== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17706== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17706== by 0x41B71D: main (nginx.c:367)
==17706==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==17746== Invalid read of size 8
==17746== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Address 0x8436e90 is 32 bytes inside a block of size 96 free'd
==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Block was alloc'd at
==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17746== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17746== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==17746== Invalid read of size 8
==17746== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Address 0x8437010 is 96 bytes inside a block of size 104 free'd
==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Block was alloc'd at
==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17746== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17746== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==17746== Invalid read of size 8
==17746== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Address 0x8437100 is 80 bytes inside a block of size 368 free'd
==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Block was alloc'd at
==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17746== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17746== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==17746== Invalid read of size 8
==17746== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==17746== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Address 0x8437130 is 128 bytes inside a block of size 368 free'd
==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Block was alloc'd at
==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17746== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17746== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==17746== Invalid read of size 8
==17746== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Address 0x8436e78 is 8 bytes inside a block of size 96 free'd
==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Block was alloc'd at
==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17746== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17746== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==17746== Invalid read of size 8
==17746== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Address 0x8436e78 is 8 bytes inside a block of size 96 free'd
==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Block was alloc'd at
==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17746== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17746== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==17746== Invalid read of size 8
==17746== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Address 0x8436cf0 is 0 bytes inside a block of size 80 free'd
==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Block was alloc'd at
==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==17746== Invalid read of size 8
==17746== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==17746== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Address 0x8436d00 is 16 bytes inside a block of size 80 free'd
==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Block was alloc'd at
==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==17746== Invalid read of size 8
==17746== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==17746== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Address 0x8436cf0 is 0 bytes inside a block of size 80 free'd
==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Block was alloc'd at
==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==17746== Invalid read of size 8
==17746== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==17746== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Address 0x8436cf0 is 0 bytes inside a block of size 80 free'd
==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Block was alloc'd at
==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==17746== Invalid read of size 8
==17746== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==17746== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Address 0x8436d20 is 48 bytes inside a block of size 80 free'd
==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Block was alloc'd at
==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==17746== Invalid read of size 8
==17746== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==17746== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Address 0x8436d08 is 24 bytes inside a block of size 80 free'd
==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Block was alloc'd at
==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==17746== Invalid read of size 8
==17746== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==17746== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Address 0x8436cf8 is 8 bytes inside a block of size 80 free'd
==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Block was alloc'd at
==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==17746== Invalid read of size 8
==17746== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==17746== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Address 0x8436cf8 is 8 bytes inside a block of size 80 free'd
==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Block was alloc'd at
==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 19: simple user thread with args ==17746== Invalid read of size 8
==17746== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==17746== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17746== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17746== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Address 0x8436d38 is 72 bytes inside a block of size 80 free'd
==17746== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17746== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17746== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17746== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17746== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17746== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17746== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17746== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17746== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17746== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17746== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17746== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17746== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746== Block was alloc'd at
==17746== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17746== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17746== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17746== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17746== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17746== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17746== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17746== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17746== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17746== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17746== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17746== by 0x41B71D: main (nginx.c:367)
==17746==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==17786== Invalid read of size 8
==17786== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Address 0x842e270 is 32 bytes inside a block of size 96 free'd
==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Block was alloc'd at
==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17786== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17786== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==17786== Invalid read of size 8
==17786== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Address 0x842e3f0 is 96 bytes inside a block of size 104 free'd
==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Block was alloc'd at
==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17786== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17786== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==17786== Invalid read of size 8
==17786== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Address 0x842e4e0 is 80 bytes inside a block of size 368 free'd
==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Block was alloc'd at
==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17786== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17786== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==17786== Invalid read of size 8
==17786== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==17786== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Address 0x842e510 is 128 bytes inside a block of size 368 free'd
==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Block was alloc'd at
==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17786== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17786== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==17786== Invalid read of size 8
==17786== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Address 0x842e258 is 8 bytes inside a block of size 96 free'd
==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Block was alloc'd at
==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17786== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17786== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==17786== Invalid read of size 8
==17786== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Address 0x842e258 is 8 bytes inside a block of size 96 free'd
==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Block was alloc'd at
==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17786== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17786== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==17786== Invalid read of size 8
==17786== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Address 0x842e0d0 is 0 bytes inside a block of size 80 free'd
==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Block was alloc'd at
==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==17786== Invalid read of size 8
==17786== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==17786== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Address 0x842e0e0 is 16 bytes inside a block of size 80 free'd
==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Block was alloc'd at
==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==17786== Invalid read of size 8
==17786== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==17786== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Address 0x842e0d0 is 0 bytes inside a block of size 80 free'd
==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Block was alloc'd at
==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==17786== Invalid read of size 8
==17786== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==17786== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Address 0x842e0d0 is 0 bytes inside a block of size 80 free'd
==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Block was alloc'd at
==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==17786== Invalid read of size 8
==17786== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==17786== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Address 0x842e100 is 48 bytes inside a block of size 80 free'd
==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Block was alloc'd at
==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==17786== Invalid read of size 8
==17786== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==17786== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Address 0x842e0e8 is 24 bytes inside a block of size 80 free'd
==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Block was alloc'd at
==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==17786== Invalid read of size 8
==17786== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==17786== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Address 0x842e0d8 is 8 bytes inside a block of size 80 free'd
==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Block was alloc'd at
==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==17786== Invalid read of size 8
==17786== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==17786== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Address 0x842e0d8 is 8 bytes inside a block of size 80 free'd
==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Block was alloc'd at
==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 12: manual time slicing between a user thread and the entry thread ==17786== Invalid read of size 8
==17786== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==17786== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17786== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17786== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Address 0x842e118 is 72 bytes inside a block of size 80 free'd
==17786== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17786== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17786== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17786== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17786== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17786== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17786== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17786== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17786== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17786== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17786== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17786== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17786== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786== Block was alloc'd at
==17786== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17786== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17786== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17786== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17786== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17786== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17786== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17786== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17786== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17786== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17786== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17786== by 0x41B71D: main (nginx.c:367)
==17786==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==17826== Invalid read of size 8
==17826== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Address 0x8fa5da0 is 32 bytes inside a block of size 96 free'd
==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Block was alloc'd at
==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17826== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17826== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==17826== Invalid read of size 8
==17826== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Address 0x8fa5f20 is 96 bytes inside a block of size 104 free'd
==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Block was alloc'd at
==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17826== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17826== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==17826== Invalid read of size 8
==17826== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Address 0x8fa6010 is 80 bytes inside a block of size 368 free'd
==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Block was alloc'd at
==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17826== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17826== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==17826== Invalid read of size 8
==17826== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==17826== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Address 0x8fa6040 is 128 bytes inside a block of size 368 free'd
==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Block was alloc'd at
==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17826== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17826== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==17826== Invalid read of size 8
==17826== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Address 0x8fa5d88 is 8 bytes inside a block of size 96 free'd
==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Block was alloc'd at
==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17826== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17826== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==17826== Invalid read of size 8
==17826== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Address 0x8fa5d88 is 8 bytes inside a block of size 96 free'd
==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Block was alloc'd at
==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17826== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17826== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==17826== Invalid read of size 8
==17826== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Address 0x8afefa0 is 0 bytes inside a block of size 80 free'd
==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Block was alloc'd at
==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==17826== Invalid read of size 8
==17826== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==17826== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Address 0x8afefb0 is 16 bytes inside a block of size 80 free'd
==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Block was alloc'd at
==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==17826== Invalid read of size 8
==17826== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==17826== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Address 0x8afefa0 is 0 bytes inside a block of size 80 free'd
==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Block was alloc'd at
==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==17826== Invalid read of size 8
==17826== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==17826== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Address 0x8afefa0 is 0 bytes inside a block of size 80 free'd
==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Block was alloc'd at
==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==17826== Invalid read of size 8
==17826== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==17826== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Address 0x8afefd0 is 48 bytes inside a block of size 80 free'd
==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Block was alloc'd at
==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==17826== Invalid read of size 8
==17826== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==17826== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Address 0x8afefb8 is 24 bytes inside a block of size 80 free'd
==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Block was alloc'd at
==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==17826== Invalid read of size 8
==17826== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==17826== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Address 0x8afefa8 is 8 bytes inside a block of size 80 free'd
==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Block was alloc'd at
==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==17826== Invalid read of size 8
==17826== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==17826== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Address 0x8afefa8 is 8 bytes inside a block of size 80 free'd
==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Block was alloc'd at
==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 5: error in user thread ==17826== Invalid read of size 8
==17826== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==17826== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17826== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17826== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Address 0x8afefe8 is 72 bytes inside a block of size 80 free'd
==17826== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17826== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17826== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17826== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17826== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17826== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17826== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17826== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17826== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17826== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17826== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17826== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17826== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826== Block was alloc'd at
==17826== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17826== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17826== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17826== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17826== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17826== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17826== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17826== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17826== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17826== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17826== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17826== by 0x41B71D: main (nginx.c:367)
==17826==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==17846== Invalid read of size 8
==17846== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Address 0x8bcdb30 is 32 bytes inside a block of size 96 free'd
==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Block was alloc'd at
==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17846== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17846== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==17846== Invalid read of size 8
==17846== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Address 0x8bcdcb0 is 96 bytes inside a block of size 104 free'd
==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Block was alloc'd at
==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17846== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17846== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==17846== Invalid read of size 8
==17846== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Address 0x8bcdda0 is 80 bytes inside a block of size 368 free'd
==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Block was alloc'd at
==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17846== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17846== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==17846== Invalid read of size 8
==17846== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==17846== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Address 0x8bcddd0 is 128 bytes inside a block of size 368 free'd
==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Block was alloc'd at
==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17846== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17846== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==17846== Invalid read of size 8
==17846== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Address 0x8bcdb18 is 8 bytes inside a block of size 96 free'd
==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Block was alloc'd at
==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17846== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17846== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==17846== Invalid read of size 8
==17846== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Address 0x8bcdb18 is 8 bytes inside a block of size 96 free'd
==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Block was alloc'd at
==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17846== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17846== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==17846== Invalid read of size 8
==17846== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Address 0x8bcd9e0 is 0 bytes inside a block of size 80 free'd
==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Block was alloc'd at
==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==17846== Invalid read of size 8
==17846== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==17846== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Address 0x8bcd9f0 is 16 bytes inside a block of size 80 free'd
==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Block was alloc'd at
==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==17846== Invalid read of size 8
==17846== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==17846== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Address 0x8bcd9e0 is 0 bytes inside a block of size 80 free'd
==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Block was alloc'd at
==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==17846== Invalid read of size 8
==17846== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==17846== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Address 0x8bcd9e0 is 0 bytes inside a block of size 80 free'd
==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Block was alloc'd at
==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==17846== Invalid read of size 8
==17846== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==17846== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Address 0x8bcda10 is 48 bytes inside a block of size 80 free'd
==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Block was alloc'd at
==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==17846== Invalid read of size 8
==17846== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==17846== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Address 0x8bcd9f8 is 24 bytes inside a block of size 80 free'd
==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Block was alloc'd at
==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==17846== Invalid read of size 8
==17846== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==17846== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Address 0x8bcd9e8 is 8 bytes inside a block of size 80 free'd
==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Block was alloc'd at
==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==17846== Invalid read of size 8
==17846== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==17846== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Address 0x8bcd9e8 is 8 bytes inside a block of size 80 free'd
==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Block was alloc'd at
==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 9: coroutine status of a dead user thread ==17846== Invalid read of size 8
==17846== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==17846== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17846== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17846== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Address 0x8bcda28 is 72 bytes inside a block of size 80 free'd
==17846== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17846== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17846== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17846== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17846== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17846== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17846== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17846== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17846== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17846== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17846== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17846== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17846== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846== Block was alloc'd at
==17846== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17846== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17846== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17846== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17846== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17846== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17846== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17846== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17846== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17846== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17846== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17846== by 0x41B71D: main (nginx.c:367)
==17846==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==17866== Invalid read of size 8
==17866== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Address 0x9528dc0 is 32 bytes inside a block of size 96 free'd
==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Block was alloc'd at
==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17866== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17866== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==17866== Invalid read of size 8
==17866== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Address 0x9528f40 is 96 bytes inside a block of size 104 free'd
==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Block was alloc'd at
==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17866== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17866== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==17866== Invalid read of size 8
==17866== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Address 0x9529030 is 80 bytes inside a block of size 368 free'd
==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Block was alloc'd at
==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17866== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17866== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==17866== Invalid read of size 8
==17866== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==17866== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Address 0x9529060 is 128 bytes inside a block of size 368 free'd
==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Block was alloc'd at
==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17866== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17866== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==17866== Invalid read of size 8
==17866== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Address 0x9528da8 is 8 bytes inside a block of size 96 free'd
==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Block was alloc'd at
==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17866== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17866== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==17866== Invalid read of size 8
==17866== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Address 0x9528da8 is 8 bytes inside a block of size 96 free'd
==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Block was alloc'd at
==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17866== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17866== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==17866== Invalid read of size 8
==17866== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Address 0x9528c20 is 0 bytes inside a block of size 80 free'd
==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Block was alloc'd at
==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==17866== Invalid read of size 8
==17866== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==17866== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Address 0x9528c30 is 16 bytes inside a block of size 80 free'd
==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Block was alloc'd at
==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==17866== Invalid read of size 8
==17866== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==17866== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Address 0x9528c20 is 0 bytes inside a block of size 80 free'd
==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Block was alloc'd at
==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==17866== Invalid read of size 8
==17866== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==17866== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Address 0x9528c20 is 0 bytes inside a block of size 80 free'd
==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Block was alloc'd at
==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==17866== Invalid read of size 8
==17866== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==17866== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Address 0x9528c50 is 48 bytes inside a block of size 80 free'd
==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Block was alloc'd at
==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==17866== Invalid read of size 8
==17866== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==17866== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Address 0x9528c38 is 24 bytes inside a block of size 80 free'd
==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Block was alloc'd at
==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==17866== Invalid read of size 8
==17866== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==17866== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Address 0x9528c28 is 8 bytes inside a block of size 80 free'd
==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Block was alloc'd at
==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==17866== Invalid read of size 8
==17866== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==17866== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Address 0x9528c28 is 8 bytes inside a block of size 80 free'd
==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Block was alloc'd at
==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 15: two user threads flushing at the same time ==17866== Invalid read of size 8
==17866== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==17866== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17866== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17866== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Address 0x9528c68 is 72 bytes inside a block of size 80 free'd
==17866== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17866== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17866== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17866== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17866== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17866== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17866== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17866== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17866== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17866== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17866== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17866== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17866== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866== Block was alloc'd at
==17866== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17866== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17866== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17866== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17866== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17866== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17866== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17866== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17866== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17866== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17866== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17866== by 0x41B71D: main (nginx.c:367)
==17866==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==17906== Invalid read of size 8
==17906== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Address 0x8793890 is 32 bytes inside a block of size 96 free'd
==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Block was alloc'd at
==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17906== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17906== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==17906== Invalid read of size 8
==17906== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Address 0x97e5d20 is 96 bytes inside a block of size 104 free'd
==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Block was alloc'd at
==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17906== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17906== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==17906== Invalid read of size 8
==17906== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Address 0x8452810 is 80 bytes inside a block of size 368 free'd
==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Block was alloc'd at
==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17906== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17906== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==17906== Invalid read of size 8
==17906== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==17906== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Address 0x8435cd0 is 32 bytes inside a block of size 672 free'd
==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Block was alloc'd at
==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17906== by 0x41D445: ngx_list_init (ngx_list.h:39)
==17906== by 0x41D445: ngx_list_create (ngx_list.c:22)
==17906== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==17906== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==17906== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==17906== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==17906== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==17906== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==17906== Invalid read of size 8
==17906== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Address 0x8793878 is 8 bytes inside a block of size 96 free'd
==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Block was alloc'd at
==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17906== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17906== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==17906== Invalid read of size 8
==17906== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Address 0x8793878 is 8 bytes inside a block of size 96 free'd
==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Block was alloc'd at
==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17906== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17906== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==17906== Invalid read of size 8
==17906== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Address 0x80fe1e0 is 0 bytes inside a block of size 80 free'd
==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Block was alloc'd at
==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==17906== Invalid read of size 8
==17906== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==17906== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Address 0x80fe1f0 is 16 bytes inside a block of size 80 free'd
==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Block was alloc'd at
==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==17906== Invalid read of size 8
==17906== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==17906== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Address 0x80fe1e0 is 0 bytes inside a block of size 80 free'd
==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Block was alloc'd at
==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==17906== Invalid read of size 8
==17906== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==17906== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Address 0x80fe1e0 is 0 bytes inside a block of size 80 free'd
==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Block was alloc'd at
==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==17906== Invalid read of size 8
==17906== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==17906== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Address 0x80fe210 is 48 bytes inside a block of size 80 free'd
==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Block was alloc'd at
==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==17906== Invalid read of size 8
==17906== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==17906== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Address 0x80fe1f8 is 24 bytes inside a block of size 80 free'd
==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Block was alloc'd at
==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==17906== Invalid read of size 8
==17906== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==17906== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Address 0x80fe1e8 is 8 bytes inside a block of size 80 free'd
==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Block was alloc'd at
==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==17906== Invalid read of size 8
==17906== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==17906== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Address 0x80fe1e8 is 8 bytes inside a block of size 80 free'd
==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Block was alloc'd at
==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 14: entry thread and a user thread flushing at the same time ==17906== Invalid read of size 8
==17906== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==17906== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17906== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17906== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Address 0x80fe228 is 72 bytes inside a block of size 80 free'd
==17906== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17906== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17906== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17906== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17906== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17906== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17906== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17906== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17906== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17906== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17906== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17906== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17906== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906== Block was alloc'd at
==17906== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17906== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17906== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17906== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17906== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17906== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17906== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17906== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17906== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17906== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17906== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17906== by 0x41B71D: main (nginx.c:367)
==17906==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==17926== Invalid read of size 8
==17926== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Address 0x80979e0 is 32 bytes inside a block of size 96 free'd
==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Block was alloc'd at
==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17926== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17926== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==17926== Invalid read of size 8
==17926== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Address 0x8097b60 is 96 bytes inside a block of size 104 free'd
==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Block was alloc'd at
==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17926== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17926== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==17926== Invalid read of size 8
==17926== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Address 0x845afc0 is 80 bytes inside a block of size 368 free'd
==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Block was alloc'd at
==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17926== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17926== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==17926== Invalid read of size 8
==17926== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==17926== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Address 0x80ce560 is 32 bytes inside a block of size 672 free'd
==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Block was alloc'd at
==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17926== by 0x41D445: ngx_list_init (ngx_list.h:39)
==17926== by 0x41D445: ngx_list_create (ngx_list.c:22)
==17926== by 0x4F6BEE: ngx_stream_lua_create_co_ctx (ngx_stream_lua_util.c:2445)
==17926== by 0x5028B5: ngx_stream_lua_coroutine_create_helper (ngx_stream_lua_coroutine.c:92)
==17926== by 0x501F02: ngx_stream_lua_uthread_spawn (ngx_stream_lua_uthread.c:68)
==17926== by 0x525D6F7: lj_BC_FUNCC (in /opt/luajit-sysm/lib/libluajit-5.1.so.2.1.0)
==17926== by 0x4F5EF0: ngx_stream_lua_run_thread (ngx_stream_lua_util.c:1220)
==17926== by 0x4F41A5: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:167)
==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==17926== Invalid read of size 8
==17926== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Address 0x80979c8 is 8 bytes inside a block of size 96 free'd
==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Block was alloc'd at
==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17926== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17926== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==17926== Invalid read of size 8
==17926== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Address 0x80979c8 is 8 bytes inside a block of size 96 free'd
==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Block was alloc'd at
==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17926== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17926== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==17926== Invalid read of size 8
==17926== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Address 0x87a0680 is 0 bytes inside a block of size 80 free'd
==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Block was alloc'd at
==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==17926== Invalid read of size 8
==17926== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==17926== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Address 0x87a0690 is 16 bytes inside a block of size 80 free'd
==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Block was alloc'd at
==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==17926== Invalid read of size 8
==17926== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==17926== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Address 0x87a0680 is 0 bytes inside a block of size 80 free'd
==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Block was alloc'd at
==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==17926== Invalid read of size 8
==17926== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==17926== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Address 0x87a0680 is 0 bytes inside a block of size 80 free'd
==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Block was alloc'd at
==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==17926== Invalid read of size 8
==17926== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==17926== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Address 0x87a06b0 is 48 bytes inside a block of size 80 free'd
==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Block was alloc'd at
==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==17926== Invalid read of size 8
==17926== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==17926== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Address 0x87a0698 is 24 bytes inside a block of size 80 free'd
==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Block was alloc'd at
==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==17926== Invalid read of size 8
==17926== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==17926== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Address 0x87a0688 is 8 bytes inside a block of size 80 free'd
==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Block was alloc'd at
==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==17926== Invalid read of size 8
==17926== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==17926== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Address 0x87a0688 is 8 bytes inside a block of size 80 free'd
==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Block was alloc'd at
==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 6: nested user threads ==17926== Invalid read of size 8
==17926== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==17926== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17926== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17926== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Address 0x87a06c8 is 72 bytes inside a block of size 80 free'd
==17926== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17926== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17926== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17926== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17926== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17926== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17926== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17926== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17926== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17926== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17926== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17926== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17926== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926== Block was alloc'd at
==17926== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17926== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17926== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17926== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17926== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17926== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17926== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17926== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17926== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17926== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17926== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17926== by 0x41B71D: main (nginx.c:367)
==17926==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==17966== Invalid read of size 8
==17966== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Address 0x876d410 is 32 bytes inside a block of size 96 free'd
==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Block was alloc'd at
==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17966== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17966== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==17966== Invalid read of size 8
==17966== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Address 0x87c3560 is 96 bytes inside a block of size 104 free'd
==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Block was alloc'd at
==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17966== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17966== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==17966== Invalid read of size 8
==17966== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Address 0x876bf50 is 80 bytes inside a block of size 368 free'd
==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Block was alloc'd at
==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17966== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17966== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==17966== Invalid read of size 8
==17966== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==17966== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Address 0x876bf80 is 128 bytes inside a block of size 368 free'd
==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Block was alloc'd at
==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17966== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==17966== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==17966== Invalid read of size 8
==17966== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Address 0x876d3f8 is 8 bytes inside a block of size 96 free'd
==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Block was alloc'd at
==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17966== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17966== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==17966== Invalid read of size 8
==17966== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Address 0x876d3f8 is 8 bytes inside a block of size 96 free'd
==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Block was alloc'd at
==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17966== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==17966== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==17966== Invalid read of size 8
==17966== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Address 0x876d2c0 is 0 bytes inside a block of size 80 free'd
==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Block was alloc'd at
==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==17966== Invalid read of size 8
==17966== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==17966== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Address 0x876d2d0 is 16 bytes inside a block of size 80 free'd
==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Block was alloc'd at
==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==17966== Invalid read of size 8
==17966== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==17966== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Address 0x876d2c0 is 0 bytes inside a block of size 80 free'd
==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Block was alloc'd at
==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==17966== Invalid read of size 8
==17966== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==17966== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Address 0x876d2c0 is 0 bytes inside a block of size 80 free'd
==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Block was alloc'd at
==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==17966== Invalid read of size 8
==17966== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==17966== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Address 0x876d2f0 is 48 bytes inside a block of size 80 free'd
==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Block was alloc'd at
==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==17966== Invalid read of size 8
==17966== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==17966== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Address 0x876d2d8 is 24 bytes inside a block of size 80 free'd
==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Block was alloc'd at
==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==17966== Invalid read of size 8
==17966== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==17966== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Address 0x876d2c8 is 8 bytes inside a block of size 80 free'd
==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Block was alloc'd at
==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==17966== Invalid read of size 8
==17966== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==17966== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Address 0x876d2c8 is 8 bytes inside a block of size 80 free'd
==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Block was alloc'd at
==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 1: simple user thread without I/O ==17966== Invalid read of size 8
==17966== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==17966== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==17966== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==17966== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Address 0x876d308 is 72 bytes inside a block of size 80 free'd
==17966== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==17966== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==17966== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==17966== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==17966== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==17966== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==17966== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==17966== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==17966== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==17966== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==17966== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==17966== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==17966== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966== Block was alloc'd at
==17966== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==17966== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==17966== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==17966== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==17966== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==17966== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==17966== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==17966== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==17966== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==17966== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==17966== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==17966== by 0x41B71D: main (nginx.c:367)
==17966==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==18006== Invalid read of size 8
==18006== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Address 0x8fd3d60 is 32 bytes inside a block of size 96 free'd
==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Block was alloc'd at
==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18006== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==18006== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==18006== Invalid read of size 8
==18006== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Address 0x8fd3ee0 is 96 bytes inside a block of size 104 free'd
==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Block was alloc'd at
==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18006== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==18006== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==18006== Invalid read of size 8
==18006== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Address 0x8fd4a00 is 80 bytes inside a block of size 368 free'd
==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Block was alloc'd at
==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18006== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==18006== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==18006== Invalid read of size 8
==18006== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==18006== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Address 0x8fd4a30 is 128 bytes inside a block of size 368 free'd
==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Block was alloc'd at
==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18006== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==18006== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==18006== Invalid read of size 8
==18006== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Address 0x8fd3d48 is 8 bytes inside a block of size 96 free'd
==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Block was alloc'd at
==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18006== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==18006== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==18006== Invalid read of size 8
==18006== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Address 0x8fd3d48 is 8 bytes inside a block of size 96 free'd
==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Block was alloc'd at
==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18006== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==18006== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==18006== Invalid read of size 8
==18006== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Address 0x8fc3e00 is 0 bytes inside a block of size 80 free'd
==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Block was alloc'd at
==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==18006== Invalid read of size 8
==18006== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==18006== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Address 0x8fc3e10 is 16 bytes inside a block of size 80 free'd
==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Block was alloc'd at
==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==18006== Invalid read of size 8
==18006== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==18006== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Address 0x8fc3e00 is 0 bytes inside a block of size 80 free'd
==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Block was alloc'd at
==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==18006== Invalid read of size 8
==18006== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==18006== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Address 0x8fc3e00 is 0 bytes inside a block of size 80 free'd
==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Block was alloc'd at
==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==18006== Invalid read of size 8
==18006== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==18006== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Address 0x8fc3e30 is 48 bytes inside a block of size 80 free'd
==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Block was alloc'd at
==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==18006== Invalid read of size 8
==18006== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==18006== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Address 0x8fc3e18 is 24 bytes inside a block of size 80 free'd
==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Block was alloc'd at
==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==18006== Invalid read of size 8
==18006== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==18006== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Address 0x8fc3e08 is 8 bytes inside a block of size 80 free'd
==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Block was alloc'd at
==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==18006== Invalid read of size 8
==18006== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==18006== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Address 0x8fc3e08 is 8 bytes inside a block of size 80 free'd
==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Block was alloc'd at
==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
093-uthread-spawn.t TEST 17: user threads + ngx.socket.udp ==18006== Invalid read of size 8
==18006== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==18006== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18006== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18006== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Address 0x8fc3e48 is 72 bytes inside a block of size 80 free'd
==18006== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18006== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18006== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18006== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18006== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18006== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18006== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18006== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18006== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18006== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18006== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18006== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18006== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006== Block was alloc'd at
==18006== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18006== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18006== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18006== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18006== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18006== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18006== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18006== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18006== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18006== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18006== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18006== by 0x41B71D: main (nginx.c:367)
==18006==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==18243== Invalid read of size 8
==18243== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Address 0x83e4c00 is 32 bytes inside a block of size 96 free'd
==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Block was alloc'd at
==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18243== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==18243== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==18243== Invalid read of size 8
==18243== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Address 0x83e4dc0 is 96 bytes inside a block of size 104 free'd
==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Block was alloc'd at
==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18243== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==18243== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==18243== Invalid read of size 8
==18243== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Address 0x83e4eb0 is 80 bytes inside a block of size 368 free'd
==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Block was alloc'd at
==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18243== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==18243== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==18243== Invalid read of size 8
==18243== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==18243== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Address 0x83e4ee0 is 128 bytes inside a block of size 368 free'd
==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Block was alloc'd at
==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18243== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==18243== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==18243== Invalid read of size 8
==18243== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Address 0x83e4be8 is 8 bytes inside a block of size 96 free'd
==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Block was alloc'd at
==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18243== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==18243== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==18243== Invalid read of size 8
==18243== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Address 0x83e4be8 is 8 bytes inside a block of size 96 free'd
==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Block was alloc'd at
==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18243== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==18243== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==18243== Invalid read of size 8
==18243== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Address 0x83e4a60 is 0 bytes inside a block of size 80 free'd
==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Block was alloc'd at
==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==18243== Invalid read of size 8
==18243== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==18243== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Address 0x83e4a70 is 16 bytes inside a block of size 80 free'd
==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Block was alloc'd at
==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==18243== Invalid read of size 8
==18243== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==18243== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Address 0x83e4a60 is 0 bytes inside a block of size 80 free'd
==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Block was alloc'd at
==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==18243== Invalid read of size 8
==18243== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==18243== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Address 0x83e4a60 is 0 bytes inside a block of size 80 free'd
==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Block was alloc'd at
==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==18243== Invalid read of size 8
==18243== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==18243== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Address 0x83e4a90 is 48 bytes inside a block of size 80 free'd
==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Block was alloc'd at
==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==18243== Invalid read of size 8
==18243== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==18243== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Address 0x83e4a78 is 24 bytes inside a block of size 80 free'd
==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Block was alloc'd at
==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==18243== Invalid read of size 8
==18243== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==18243== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Address 0x83e4a68 is 8 bytes inside a block of size 80 free'd
==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Block was alloc'd at
==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==18243== Invalid read of size 8
==18243== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==18243== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Address 0x83e4a68 is 8 bytes inside a block of size 80 free'd
==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Block was alloc'd at
==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 1: simple user thread wait without I/O ==18243== Invalid read of size 8
==18243== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==18243== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18243== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18243== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Address 0x83e4aa8 is 72 bytes inside a block of size 80 free'd
==18243== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18243== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18243== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18243== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18243== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18243== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18243== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18243== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18243== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18243== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18243== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18243== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18243== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243== Block was alloc'd at
==18243== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18243== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18243== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18243== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18243== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18243== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18243== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18243== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18243== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18243== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18243== by 0x4425FC: ngx_master_process_cycle (ngx_process_cycle.c:130)
==18243== by 0x41B71D: main (nginx.c:367)
==18243==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==18312== Invalid read of size 8
==18312== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Address 0x8fb6500 is 32 bytes inside a block of size 96 free'd
==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Block was alloc'd at
==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18312== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==18312== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==18312== Invalid read of size 8
==18312== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Address 0x91eaf30 is 96 bytes inside a block of size 104 free'd
==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Block was alloc'd at
==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18312== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==18312== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==18312== Invalid read of size 8
==18312== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Address 0x91eafd0 is 80 bytes inside a block of size 368 free'd
==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Block was alloc'd at
==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18312== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==18312== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==18312== Invalid read of size 8
==18312== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==18312== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Address 0x91eb000 is 128 bytes inside a block of size 368 free'd
==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Block was alloc'd at
==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18312== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==18312== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==18312== Invalid read of size 8
==18312== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Address 0x8fb64e8 is 8 bytes inside a block of size 96 free'd
==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Block was alloc'd at
==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18312== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==18312== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==18312== Invalid read of size 8
==18312== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Address 0x8fb64e8 is 8 bytes inside a block of size 96 free'd
==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Block was alloc'd at
==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18312== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==18312== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==18312== Invalid read of size 8
==18312== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Address 0x8fb6400 is 0 bytes inside a block of size 80 free'd
==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Block was alloc'd at
==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==18312== Invalid read of size 8
==18312== at 0x41C1C2: ngx_log_error_core (ngx_log.c:126)
==18312== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Address 0x8fb6410 is 16 bytes inside a block of size 80 free'd
==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Block was alloc'd at
==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==18312== Invalid read of size 8
==18312== at 0x41C292: ngx_log_error_core (ngx_log.c:159)
==18312== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Address 0x8fb6400 is 0 bytes inside a block of size 80 free'd
==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Block was alloc'd at
==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==18312== Invalid read of size 8
==18312== at 0x41C2B6: ngx_log_error_core (ngx_log.c:163)
==18312== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Address 0x8fb6400 is 0 bytes inside a block of size 80 free'd
==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Block was alloc'd at
==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==18312== Invalid read of size 8
==18312== at 0x41C2C0: ngx_log_error_core (ngx_log.c:167)
==18312== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Address 0x8fb6430 is 48 bytes inside a block of size 80 free'd
==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Block was alloc'd at
==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==18312== Invalid read of size 8
==18312== at 0x41C2E3: ngx_log_error_core (ngx_log.c:172)
==18312== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Address 0x8fb6418 is 24 bytes inside a block of size 80 free'd
==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Block was alloc'd at
==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==18312== Invalid read of size 8
==18312== at 0x41C2E9: ngx_log_error_core (ngx_log.c:183)
==18312== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Address 0x8fb6408 is 8 bytes inside a block of size 80 free'd
==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Block was alloc'd at
==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==18312== Invalid read of size 8
==18312== at 0x41C318: ngx_log_error_core (ngx_log.c:189)
==18312== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Address 0x8fb6408 is 8 bytes inside a block of size 80 free'd
==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Block was alloc'd at
==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 7: simple user thread wait without I/O, throw errors ==18312== Invalid read of size 8
==18312== at 0x41C328: ngx_log_error_core (ngx_log.c:195)
==18312== by 0x4F5BD5: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18312== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18312== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Address 0x8fb6448 is 72 bytes inside a block of size 80 free'd
==18312== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18312== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18312== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18312== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18312== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18312== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18312== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18312== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18312== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18312== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18312== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18312== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18312== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312== Block was alloc'd at
==18312== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18312== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18312== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18312== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18312== by 0x43AFBB: ngx_event_accept (ngx_event_accept.c:175)
==18312== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18312== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18312== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18312== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18312== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18312== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18312== by 0x41B71D: main (nginx.c:367)
==18312==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_log_error_core
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==18332== Invalid read of size 8
==18332== at 0x4F7AB2: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332== Address 0x950a110 is 32 bytes inside a block of size 96 free'd
==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332== Block was alloc'd at
==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18332== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==18332== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==18332== Invalid read of size 8
==18332== at 0x4F7ABD: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:596)
==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332== Address 0x950a290 is 96 bytes inside a block of size 104 free'd
==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332== Block was alloc'd at
==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18332== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==18332== by 0x499B1A: ngx_stream_init_session (ngx_stream_handler.c:238)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==18332== Invalid read of size 8
==18332== at 0x4F7AC6: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:597)
==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332== Address 0x950a380 is 80 bytes inside a block of size 368 free'd
==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332== Block was alloc'd at
==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18332== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==18332== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==18332== Invalid read of size 8
==18332== at 0x4F7ACF: ngx_stream_lua_cleanup_pending_operation (ngx_stream_lua_util.h:257)
==18332== by 0x4F7ACF: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:598)
==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332== Address 0x950a3b0 is 128 bytes inside a block of size 368 free'd
==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332== Block was alloc'd at
==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18332== by 0x4F43F9: ngx_stream_lua_create_ctx (ngx_stream_lua_util.h:174)
==18332== by 0x4F43F9: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:216)
==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_cleanup_pending_operation
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==18332== Invalid read of size 8
==18332== at 0x4F7AE5: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:601)
==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332== Address 0x950a0f8 is 8 bytes inside a block of size 96 free'd
==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332== Block was alloc'd at
==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18332== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==18332== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==18332== Invalid read of size 8
==18332== at 0x4F5BA9: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1886)
==18332== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332== Address 0x950a0f8 is 8 bytes inside a block of size 96 free'd
==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332== Block was alloc'd at
==18332== at 0x4C2B0D4: malloc (vg_replace_malloc.c:299)
==18332== by 0x43DE11: ngx_alloc (ngx_alloc.c:22)
==18332== by 0x41CC82: ngx_malloc (ngx_palloc.c:140)
==18332== by 0x41CEAA: ngx_palloc (ngx_palloc.c:123)
==18332== by 0x41CFD3: ngx_pcalloc (ngx_palloc.c:218)
==18332== by 0x499DC3: ngx_stream_init_connection (ngx_stream_handler.c:121)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332==
{
<insert_a_suppression_name_here>
Memcheck:Addr8
fun:ngx_stream_lua_finalize_fake_session
fun:ngx_stream_lua_finalize_session
fun:ngx_stream_lua_content_handler
fun:ngx_stream_init_session
fun:ngx_stream_init_connection
fun:ngx_event_accept
fun:ngx_epoll_process_events
fun:ngx_process_events_and_timers
fun:ngx_worker_process_cycle
fun:ngx_spawn_process
fun:ngx_start_worker_processes
fun:ngx_master_process_cycle
fun:main
}
098-uthread-wait.t TEST 14: waiting on two simple user threads without I/O, both aborted by errors ==18332== Invalid read of size 8
==18332== at 0x4F5BB1: ngx_stream_lua_finalize_fake_session (ngx_stream_lua_util.c:1888)
==18332== by 0x4F8053: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:606)
==18332== by 0x4F45AD: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)
==18332== by 0x44048D: ngx_spawn_process (ngx_process.c:198)
==18332== by 0x441125: ngx_start_worker_processes (ngx_process_cycle.c:358)
==18332== by 0x442D69: ngx_master_process_cycle (ngx_process_cycle.c:243)
==18332== by 0x41B71D: main (nginx.c:367)
==18332== Address 0x9509f70 is 0 bytes inside a block of size 80 free'd
==18332== at 0x4C29FDA: free (vg_replace_malloc.c:530)
==18332== by 0x41CE11: ngx_destroy_pool (ngx_palloc.c:79)
==18332== by 0x499AC3: ngx_stream_close_connection (ngx_stream_handler.c:323)
==18332== by 0x4F7816: ngx_stream_lua_free_session (ngx_stream_lua_util.c:3221)
==18332== by 0x4F8046: ngx_stream_lua_finalize_real_session (ngx_stream_lua_util.c:714)
==18332== by 0x4F8046: ngx_stream_lua_finalize_session (ngx_stream_lua_util.c:602)
==18332== by 0x4F8114: ngx_stream_lua_run_posted_threads (ngx_stream_lua_util.c:1732)
==18332== by 0x4F41C3: ngx_stream_lua_content_by_chunk (ngx_stream_lua_contentby.c:174)
==18332== by 0x4F4282: ngx_stream_lua_content_handler_inline (ngx_stream_lua_contentby.c:74)
==18332== by 0x4F45A2: ngx_stream_lua_content_handler (ngx_stream_lua_contentby.c:236)
==18332== by 0x499B34: ngx_stream_init_session (ngx_stream_handler.c:244)
==18332== by 0x49A234: ngx_stream_init_connection (ngx_stream_handler.c:223)
==18332== by 0x43B2BF: ngx_event_accept (ngx_event_accept.c:309)
==18332== by 0x443F1A: ngx_epoll_process_events (ngx_epoll_module.c:900)
==18332== by 0x43A370: ngx_process_events_and_timers (ngx_event.c:242)
==18332== by 0x441CEB: ngx_worker_process_cycle (ngx_process_cycle.c:753)